Total Complexity | 2 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
12 | class SystemPushNotifications extends PushNotifications implements PushNotificationsContract |
||
13 | { |
||
14 | /** |
||
15 | * Notifications Trait |
||
16 | */ |
||
17 | use NotificationsTrait; |
||
18 | |||
19 | /** |
||
20 | * Constructor |
||
21 | */ |
||
22 | public function __construct(array $user, string $content, string $systemModule) |
||
23 | { |
||
24 | $this->user = $user; |
||
1 ignored issue
–
show
|
|||
25 | $this->content = $content; |
||
26 | $this->systemModule = $systemModule; |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * Assemble an Apps Push Notification |
||
31 | * @todo Create specific assembler for apps push notifications |
||
32 | */ |
||
33 | public function assemble() |
||
41 | } |
||
42 | } |
||
43 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..