| 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 |
|
| 32 | |||
| 33 | /** |
||
| 34 | * @param mixed $targeting |
||
| 35 | * |
||
| 36 | * @return bool |
||
| 37 | */ |
||
| 38 | 5 | protected static function isTargetingEmail($targeting) |
|
| 42 | |||
| 43 | 4 | protected static function isTargetingTags($targeting) |
|
| 47 | } |
||
| 48 |
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.