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 | 7 | public static function make($notifiable, Notification $notification, $targeting): array |
|
36 | |||
37 | /** |
||
38 | * @param mixed $targeting |
||
39 | * |
||
40 | * @return bool |
||
41 | */ |
||
42 | |||
43 | 5 | protected static function isTargetingIncludedSegments($targeting) |
|
47 | |||
48 | /** |
||
49 | * @param mixed $targeting |
||
50 | * |
||
51 | * @return bool |
||
52 | */ |
||
53 | |||
54 | 4 | protected static function isTargetingExcludedSegments($targeting) |
|
58 | |||
59 | /** |
||
60 | * @param mixed $targeting |
||
61 | * |
||
62 | * @return bool |
||
63 | */ |
||
64 | 7 | protected static function isTargetingEmail($targeting) |
|
68 | |||
69 | /** |
||
70 | * @param mixed $targeting |
||
71 | * |
||
72 | * @return bool |
||
73 | */ |
||
74 | 6 | protected static function isTargetingTags($targeting) |
|
78 | } |
||
79 |
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.