1 | <?php |
||
23 | class RequiredDataProcessor implements RequiredDataProcessorInterface |
||
24 | { |
||
25 | /** |
||
26 | * @var RouteServiceInterface |
||
27 | */ |
||
28 | protected $themeRoutesGenerator; |
||
29 | |||
30 | /** |
||
31 | * @var GeneratorInterface |
||
32 | */ |
||
33 | protected $themeMenusGenerator; |
||
34 | |||
35 | /** |
||
36 | * @var GeneratorInterface |
||
37 | */ |
||
38 | protected $themeContainersGenerator; |
||
39 | |||
40 | /** |
||
41 | * @var GeneratorInterface |
||
42 | */ |
||
43 | protected $themeWidgetsGenerator; |
||
44 | |||
45 | /** |
||
46 | * @var GeneratorInterface |
||
47 | */ |
||
48 | protected $themeContentListsGenerator; |
||
49 | |||
50 | /** |
||
51 | * RequiredDataProcessor constructor. |
||
52 | * |
||
53 | * @param GeneratorInterface $themeRoutesGenerator |
||
54 | * @param GeneratorInterface $themeMenusGenerator |
||
55 | * @param GeneratorInterface $themeContainersGenerator |
||
56 | * @param GeneratorInterface $themeWidgetsGenerator |
||
57 | * @param GeneratorInterface $themeContentListsGenerator |
||
58 | */ |
||
59 | public function __construct(GeneratorInterface $themeRoutesGenerator, GeneratorInterface $themeMenusGenerator, GeneratorInterface $themeContainersGenerator, GeneratorInterface $themeWidgetsGenerator, GeneratorInterface $themeContentListsGenerator) |
||
67 | |||
68 | /** |
||
69 | * {@inheritdoc} |
||
70 | */ |
||
71 | public function processTheme(ThemeInterface $theme): void |
||
79 | } |
||
80 |
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..