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 | * The plugin's processor type to use. |
||
66 | * |
||
67 | * @var string |
||
68 | * @Type("string") |
||
69 | * @SerializedName("processor-factory") |
||
70 | */ |
||
71 | protected $processorFactory; |
||
72 | |||
73 | /** |
||
74 | * The plugin's utility class with the SQL statements to use. |
||
75 | * |
||
76 | * @var string |
||
77 | * @Type("string") |
||
78 | * @SerializedName("utility-class-name") |
||
79 | */ |
||
80 | protected $utilityClassName; |
||
81 | |||
82 | /** |
||
83 | * Return's the plugin's processor factory type to use. |
||
84 | * |
||
85 | * @return string The plugin's processor factory type |
||
86 | */ |
||
87 | public function getProcessorFactory() |
||
91 | |||
92 | /** |
||
93 | * Return's the utility class with the SQL statements to use. |
||
94 | * |
||
95 | * @return string The utility class name |
||
96 | */ |
||
97 | public function getUtilityClassName() |
||
101 | |||
102 | /** |
||
103 | * Set's the reference to the configuration instance. |
||
104 | * |
||
105 | * @param \TechDivision\Import\ConfigurationInterface $configuration The configuration instance |
||
106 | * |
||
107 | * @return void |
||
108 | */ |
||
109 | public function setConfiguration(ConfigurationInterface $configuration) |
||
113 | |||
114 | /** |
||
115 | * Return's the reference to the configuration instance. |
||
116 | * |
||
117 | * @return \TechDivision\Import\ConfigurationInterface The configuration instance |
||
118 | */ |
||
119 | public function getConfiguration() |
||
123 | |||
124 | /** |
||
125 | * Return's the subject's class name. |
||
126 | * |
||
127 | * @return string The subject's class name |
||
128 | */ |
||
129 | public function getClassName() |
||
133 | |||
134 | /** |
||
135 | * Return's the ArrayCollection with the operation's subjects. |
||
136 | * |
||
137 | * @return \Doctrine\Common\Collections\ArrayCollection The ArrayCollection with the operation's subjects |
||
138 | */ |
||
139 | public function getSubjects() |
||
143 | } |
||
144 |
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..