1 | <?php |
||
13 | class Exporter |
||
14 | { |
||
15 | /** @var \Illuminate\Contracts\Bus\Dispatcher */ |
||
16 | protected $dispatcher; |
||
17 | |||
18 | /** @var UrlGenerator */ |
||
19 | protected $urlGenerator; |
||
20 | |||
21 | /** @var bool */ |
||
22 | protected $cleanBeforeExport = false; |
||
23 | |||
24 | /** @var bool */ |
||
25 | protected $crawl = false; |
||
26 | |||
27 | /** @var string[] */ |
||
28 | protected $paths = []; |
||
29 | |||
30 | /** @var string[] */ |
||
31 | protected $includeFiles = []; |
||
32 | |||
33 | /** @var string[] */ |
||
34 | protected $excludeFilePatterns = []; |
||
35 | |||
36 | public function __construct(Dispatcher $dispatcher, UrlGenerator $urlGenerator) |
||
41 | |||
42 | public function cleanBeforeExport(bool $cleanBeforeExport): self |
||
48 | |||
49 | public function crawl(bool $crawl): self |
||
55 | |||
56 | public function paths(...$paths): self |
||
64 | |||
65 | public function urls(...$urls): self |
||
75 | |||
76 | public function includeFiles(array $includeFiles): self |
||
82 | |||
83 | public function excludeFilePatterns(array $excludeFilePatterns): self |
||
89 | |||
90 | public function export() |
||
116 | } |
||
117 |
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..