1 | <?php |
||
6 | class OneSignalPayloadFactory |
||
7 | { |
||
8 | /** |
||
9 | * Make a one signal notification payload. |
||
10 | * |
||
11 | * @param mixed $notifiable |
||
12 | * @param \Illuminate\Notifications\Notification $notification |
||
13 | * @param mixed $targeting |
||
14 | * |
||
15 | * @return array |
||
16 | */ |
||
17 | 3 | public static function make($notifiable, Notification $notification, $targeting): array |
|
36 | |||
37 | /** |
||
38 | * @param mixed $targeting |
||
39 | * |
||
40 | * @return bool |
||
41 | */ |
||
42 | 3 | protected static function isTargetingEmail($targeting) |
|
46 | |||
47 | /** |
||
48 | * @param mixed $targeting |
||
49 | * |
||
50 | * @return bool |
||
51 | */ |
||
52 | 2 | protected static function isTargetingTags($targeting) |
|
56 | |||
57 | /** |
||
58 | * @param mixed $targeting |
||
59 | * |
||
60 | * @return bool |
||
61 | */ |
||
62 | 1 | protected static function isTargetingIncludedSegments($targeting) |
|
66 | |||
67 | /** |
||
68 | * @param mixed $targeting |
||
69 | * |
||
70 | * @return bool |
||
71 | */ |
||
72 | protected static function isTargetingExludedSegments($targeting) |
||
76 | } |
||
77 |
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.