1 | <?php |
||
37 | class Plugin implements PluginConfigurationInterface |
||
38 | { |
||
39 | |||
40 | /** |
||
41 | * The main configuration. |
||
42 | * |
||
43 | * @var string |
||
44 | */ |
||
45 | protected $configuration; |
||
46 | |||
47 | /** |
||
48 | * The subject's class name. |
||
49 | * |
||
50 | * @var string |
||
51 | * @Type("string") |
||
52 | * @SerializedName("class-name") |
||
53 | */ |
||
54 | protected $className; |
||
55 | |||
56 | /** |
||
57 | * ArrayCollection with the information of the configured subjects. |
||
58 | * |
||
59 | * @var \Doctrine\Common\Collections\ArrayCollection |
||
60 | * @Type("ArrayCollection<TechDivision\Import\Cli\Configuration\Subject>") |
||
61 | */ |
||
62 | protected $subjects; |
||
63 | |||
64 | /** |
||
65 | * Set's the reference to the configuration instance. |
||
66 | * |
||
67 | * @param \TechDivision\Import\ConfigurationInterface $configuration The configuration instance |
||
68 | * |
||
69 | * @return void |
||
70 | */ |
||
71 | public function setConfiguration(ConfigurationInterface $configuration) |
||
75 | |||
76 | /** |
||
77 | * Return's the reference to the configuration instance. |
||
78 | * |
||
79 | * @return \TechDivision\Import\ConfigurationInterface The configuration instance |
||
80 | */ |
||
81 | public function getConfiguration() |
||
85 | |||
86 | /** |
||
87 | * Return's the subject's class name. |
||
88 | * |
||
89 | * @return string The subject's class name |
||
90 | */ |
||
91 | public function getClassName() |
||
95 | |||
96 | /** |
||
97 | * Return's the ArrayCollection with the operation's subjects. |
||
98 | * |
||
99 | * @return \Doctrine\Common\Collections\ArrayCollection The ArrayCollection with the operation's subjects |
||
100 | */ |
||
101 | public function getSubjects() |
||
105 | } |
||
106 |
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..