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 |
|
42 | |||
43 | /** |
||
44 | * @param mixed $targeting |
||
45 | * |
||
46 | * @return bool |
||
47 | */ |
||
48 | 5 | protected static function isTargetingIncludedSegments($targeting) |
|
52 | |||
53 | /** |
||
54 | * @param mixed $targeting |
||
55 | * |
||
56 | * @return bool |
||
57 | */ |
||
58 | 4 | protected static function isTargetingExcludedSegments($targeting) |
|
62 | |||
63 | /** |
||
64 | * @param mixed $targeting |
||
65 | * |
||
66 | * @return bool |
||
67 | */ |
||
68 | 8 | protected static function isTargetingEmail($targeting) |
|
72 | |||
73 | /** |
||
74 | * @param mixed $targeting |
||
75 | * |
||
76 | * @return bool |
||
77 | */ |
||
78 | 7 | protected static function isTargetingTags($targeting) |
|
82 | } |
||
83 |
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.