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 | * The swift mailer configuration to use. |
||
84 | * |
||
85 | * @var \TechDivision\Import\Cli\Configuration\SwiftMailer |
||
86 | * @Type("TechDivision\Import\Cli\Configuration\SwiftMailer") |
||
87 | * @SerializedName("swift-mailer") |
||
88 | */ |
||
89 | protected $swiftMailer; |
||
90 | |||
91 | /** |
||
92 | * Return's the plugin's processor factory type to use. |
||
93 | * |
||
94 | * @return string The plugin's processor factory type |
||
95 | */ |
||
96 | public function getProcessorFactory() |
||
100 | |||
101 | /** |
||
102 | * Return's the utility class with the SQL statements to use. |
||
103 | * |
||
104 | * @return string The utility class name |
||
105 | */ |
||
106 | public function getUtilityClassName() |
||
110 | |||
111 | /** |
||
112 | * Set's the reference to the configuration instance. |
||
113 | * |
||
114 | * @param \TechDivision\Import\ConfigurationInterface $configuration The configuration instance |
||
115 | * |
||
116 | * @return void |
||
117 | */ |
||
118 | public function setConfiguration(ConfigurationInterface $configuration) |
||
122 | |||
123 | /** |
||
124 | * Return's the reference to the configuration instance. |
||
125 | * |
||
126 | * @return \TechDivision\Import\ConfigurationInterface The configuration instance |
||
127 | */ |
||
128 | public function getConfiguration() |
||
132 | |||
133 | /** |
||
134 | * Return's the subject's class name. |
||
135 | * |
||
136 | * @return string The subject's class name |
||
137 | */ |
||
138 | public function getClassName() |
||
142 | |||
143 | /** |
||
144 | * Return's the ArrayCollection with the operation's subjects. |
||
145 | * |
||
146 | * @return \Doctrine\Common\Collections\ArrayCollection The ArrayCollection with the operation's subjects |
||
147 | */ |
||
148 | public function getSubjects() |
||
152 | |||
153 | /** |
||
154 | * Return's the swift mailer configuration to use. |
||
155 | * |
||
156 | * @return TechDivision\Import\Cli\Configuration\SwiftMailer The swift mailer configuration to use |
||
157 | */ |
||
158 | public function getSwiftMailer() |
||
162 | } |
||
163 |
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..