1 | <?php |
||
7 | class OneSignalPayloadFactory |
||
8 | { |
||
9 | /** |
||
10 | * Make a one signal notification payload. |
||
11 | * |
||
12 | * @param mixed $notifiable |
||
13 | * @param \Illuminate\Notifications\Notification $notification |
||
14 | * @param mixed $targeting |
||
15 | * |
||
16 | * @return array |
||
17 | */ |
||
18 | 8 | public static function make($notifiable, Notification $notification, $targeting): array |
|
44 | |||
45 | /** |
||
46 | * @param mixed $targeting |
||
47 | * |
||
48 | * @return bool |
||
49 | */ |
||
50 | 5 | protected static function isTargetingIncludedSegments($targeting) |
|
54 | |||
55 | /** |
||
56 | * @param mixed $targeting |
||
57 | * |
||
58 | * @return bool |
||
59 | */ |
||
60 | 4 | protected static function isTargetingExcludedSegments($targeting) |
|
64 | |||
65 | /** |
||
66 | * @param mixed $targeting |
||
67 | * |
||
68 | * @return bool |
||
69 | */ |
||
70 | 8 | protected static function isTargetingEmail($targeting) |
|
74 | |||
75 | /** |
||
76 | * @param mixed $targeting |
||
77 | * |
||
78 | * @return bool |
||
79 | */ |
||
80 | 7 | protected static function isTargetingTags($targeting) |
|
84 | |||
85 | /** |
||
86 | * @param mixed $targeting |
||
87 | * |
||
88 | * @return bool |
||
89 | */ |
||
90 | 7 | protected static function isTargetingFilters($targeting) |
|
94 | } |
||
95 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.