mirror of
https://github.com/Karaka-Management/oms-ProjectManagement.git
synced 2026-01-11 15:48:41 +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
|
||||
{
|
||||
return count($this->tasks);
|
||||
return \count($this->tasks);
|
||||
}
|
||||
|
||||
public function getStart() : \DateTime
|
||||
|
|
|
|||
|
|
@ -57,6 +57,11 @@ final class ProjectMapper extends DataMapperAbstract
|
|||
*
|
||||
* @var array<string, array<string, null|string>>
|
||||
* @since 1.0.0
|
||||
*/ /**
|
||||
* Has many relation.
|
||||
*
|
||||
* @var array<string, array<string, string>>
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static $hasMany = [
|
||||
'tasks' => [
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user