| 1 | <?php |
||
| 7 | abstract class SlashCommandResponseJob implements ShouldQueue, HandlesSlashCommand |
||
| 8 | { |
||
| 9 | /** @var \Spatie\SlashCommand\SlashCommandData */ |
||
| 10 | public $slashCommandData; |
||
| 11 | |||
| 12 | public function __construct(SlashCommandData $slashCommandData) |
||
| 16 | |||
| 17 | public function getSlashCommandResponse(): SlashCommandResponse |
||
| 21 | |||
| 22 | public function respondToSlack(string $text): SlashCommandResponse |
||
| 26 | |||
| 27 | abstract function handle(); |
||
| 28 | |||
| 29 | } |
||
| 30 |
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..