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 | 5 | public static function make($notifiable, Notification $notification, $targeting): array |
|
43 | |||
44 | /** |
||
45 | * @param mixed $targeting |
||
46 | * |
||
47 | * @return bool |
||
48 | 4 | */ |
|
49 | protected static function isTargetingIncludedSegments($targeting) |
||
53 | |||
54 | /** |
||
55 | * @param mixed $targeting |
||
56 | * |
||
57 | * @return bool |
||
58 | */ |
||
59 | protected static function isTargetingExcludedSegments($targeting) |
||
63 | |||
64 | /** |
||
65 | * @param mixed $targeting |
||
66 | * |
||
67 | * @return bool |
||
68 | */ |
||
69 | protected static function isTargetingEmail($targeting) |
||
73 | |||
74 | /** |
||
75 | * @param mixed $targeting |
||
76 | * |
||
77 | * @return bool |
||
78 | */ |
||
79 | protected static function isTargetingTags($targeting) |
||
83 | } |
||
84 |
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.