1 | <?php |
||
10 | class Exporter |
||
11 | { |
||
12 | /** @var \Illuminate\Contracts\Bus\Dispatcher */ |
||
13 | protected $dispatcher; |
||
14 | |||
15 | /** @var boolean */ |
||
16 | protected $cleanBeforeExport = false; |
||
17 | |||
18 | /** @var boolean */ |
||
19 | protected $crawl = false; |
||
20 | |||
21 | /** @var string[] */ |
||
22 | protected $paths = []; |
||
23 | |||
24 | /** @var string[] */ |
||
25 | protected $rewriteRules = []; |
||
26 | |||
27 | /** @var string[] */ |
||
28 | protected $includeFiles = []; |
||
29 | |||
30 | /** @var string[] */ |
||
31 | protected $excludeFilePatterns = []; |
||
32 | |||
33 | public function __construct(Dispatcher $dispatcher) |
||
37 | |||
38 | public function cleanBeforeExport(bool $cleanBeforeExport): self |
||
44 | |||
45 | public function crawl(bool $crawl): self |
||
51 | |||
52 | public function paths(array $paths): self |
||
58 | |||
59 | public function rewriteRules(array $rewriteRules): self |
||
65 | |||
66 | public function includeFiles(array $includeFiles): self |
||
72 | |||
73 | public function excludeFilePatterns(array $excludeFilePatterns): self |
||
79 | |||
80 | public function export() |
||
90 | } |
||
91 |
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..