| 1 | <?php |
||
| 10 | class JusibeChannel |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * The Jusibe client instance. |
||
| 14 | * |
||
| 15 | * @var \Jusibe\Jusibe |
||
| 16 | */ |
||
| 17 | protected $jusibe; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * The phone number notifications should be sent from. |
||
| 21 | * |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | protected $from; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param JusibeClient $jusibe |
||
| 28 | */ |
||
| 29 | 3 | public function __construct(JusibeClient $jusibe) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * Send the given notification. |
||
| 36 | * |
||
| 37 | * @param mixed $notifiable |
||
| 38 | * @param \Illuminate\Notifications\Notification $notification |
||
| 39 | * @return mixed |
||
| 40 | * |
||
| 41 | * @throws \NotificationChannels\Jusibe\Exceptions\CouldNotSendNotification |
||
| 42 | */ |
||
| 43 | 3 | public function send($notifiable, Notification $notification) |
|
| 71 | } |
||
| 72 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..