mirror of
https://github.com/Karaka-Management/oms-EventManagement.git
synced 2026-02-15 01:08:40 +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
|
public function countTasks() : int
|
||||||
{
|
{
|
||||||
return count($this->tasks);
|
return \count($this->tasks);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getId() : int
|
public function getId() : int
|
||||||
|
|
|
||||||
|
|
@ -57,6 +57,11 @@ final class EventMapper 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