| 1 | <?php |
||
| 8 | class Pushover extends BaseSender |
||
| 9 | { |
||
| 10 | /** @var array */ |
||
| 11 | protected $config; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @param Repository $config |
||
| 15 | */ |
||
| 16 | public function __construct(Repository $config) |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Sends the message to the Pushover API |
||
| 23 | * @return void |
||
| 24 | */ |
||
| 25 | public function send() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Returns the proper sound for the notification type according to the config file |
||
| 44 | * @return string The sound string to use |
||
| 45 | */ |
||
| 46 | private function getSound() |
||
| 54 | |||
| 55 | } |
||
| 56 |
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..