mirror of
https://github.com/Karaka-Management/oms-Marketing.git
synced 2026-01-11 17:18:40 +00:00
Use global namespace+minor fixes
This commit is contained in:
parent
1bc0deb236
commit
17b41c84ff
|
|
@ -133,7 +133,7 @@ class Promotion
|
|||
|
||||
public function countTasks() : int
|
||||
{
|
||||
return count($this->tasks);
|
||||
return \count($this->tasks);
|
||||
}
|
||||
|
||||
public function getStart() : \DateTime
|
||||
|
|
|
|||
|
|
@ -57,6 +57,11 @@ final class PromotionMapper 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