mirror of
https://github.com/Karaka-Management/oms-ProjectManagement.git
synced 2026-02-16 15:38:40 +00:00
Use global namespace+minor fixes
This commit is contained in:
parent
38d7d89461
commit
558a859220
|
|
@ -153,7 +153,7 @@ class Project
|
||||||
|
|
||||||
public function countTasks() : int
|
public function countTasks() : int
|
||||||
{
|
{
|
||||||
return count($this->tasks);
|
return \count($this->tasks);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getStart() : \DateTime
|
public function getStart() : \DateTime
|
||||||
|
|
|
||||||
|
|
@ -57,6 +57,11 @@ final class ProjectMapper extends DataMapperAbstract
|
||||||
*
|
*
|
||||||
* @var array<string, array<string, null|string>>
|
* @var array<string, array<string, null|string>>
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
|
*/ /**
|
||||||
|
* Has many relation.
|
||||||
|
*
|
||||||
|
* @var array<string, array<string, string>>
|
||||||
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected static $hasMany = [
|
protected static $hasMany = [
|
||||||
'tasks' => [
|
'tasks' => [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user