mirror of
https://github.com/Karaka-Management/oms-EventManagement.git
synced 2026-01-27 08:18:42 +00:00
Use global namespace+minor fixes
This commit is contained in:
parent
565b4164e5
commit
17289aaab8
|
|
@ -200,7 +200,7 @@ class Event
|
|||
|
||||
public function countTasks() : int
|
||||
{
|
||||
return count($this->tasks);
|
||||
return \count($this->tasks);
|
||||
}
|
||||
|
||||
public function getId() : int
|
||||
|
|
|
|||
|
|
@ -57,6 +57,11 @@ final class EventMapper 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