| 1 | <?php |
||
| 10 | abstract class Tab implements JsonSerializable |
||
| 11 | { |
||
| 12 | public $scripts = []; |
||
| 13 | |||
| 14 | public $styles = []; |
||
| 15 | |||
| 16 | /** @var \Facade\Ignition\Facades\Flare */ |
||
| 17 | protected $flare; |
||
| 18 | |||
| 19 | /** @var Throwable */ |
||
| 20 | protected $throwable; |
||
| 21 | |||
| 22 | public function __construct() |
||
| 26 | |||
| 27 | public function name(): string |
||
| 31 | |||
| 32 | public function component(): string |
||
| 36 | |||
| 37 | public function beforeRenderingErrorPage(Flare $flare, Throwable $throwable) |
||
| 43 | |||
| 44 | public function script(string $name, string $path) |
||
| 50 | |||
| 51 | public function style(string $name, string $path) |
||
| 57 | |||
| 58 | abstract protected function registerAssets(); |
||
| 59 | |||
| 60 | public function meta(): array |
||
| 64 | |||
| 65 | public function jsonSerialize() |
||
| 75 | } |
||
| 76 |
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..