1 | <?php |
||
39 | class Plugin implements PluginConfigurationInterface |
||
40 | { |
||
41 | |||
42 | /** |
||
43 | * The trait that provides parameter configuration functionality. |
||
44 | * |
||
45 | * @var \TechDivision\Import\Configuration\Jms\Configuration\ParamsTrait |
||
46 | */ |
||
47 | use ParamsTrait; |
||
48 | |||
49 | /** |
||
50 | * The main configuration. |
||
51 | * |
||
52 | * @var string |
||
53 | */ |
||
54 | protected $configuration; |
||
55 | |||
56 | /** |
||
57 | * The plugin's unique DI identifier. |
||
58 | * |
||
59 | * @var string |
||
60 | * @Type("string") |
||
61 | * @SerializedName("id") |
||
62 | */ |
||
63 | protected $id; |
||
64 | |||
65 | /** |
||
66 | * ArrayCollection with the information of the configured subjects. |
||
67 | * |
||
68 | * @var \Doctrine\Common\Collections\ArrayCollection |
||
69 | * @Type("ArrayCollection<TechDivision\Import\Configuration\Jms\Configuration\Subject>") |
||
70 | */ |
||
71 | protected $subjects; |
||
72 | |||
73 | /** |
||
74 | * The swift mailer configuration to use. |
||
75 | * |
||
76 | * @var \TechDivision\Import\Configuration\Jms\Configuration\SwiftMailer |
||
77 | * @Type("TechDivision\Import\Configuration\Jms\Configuration\SwiftMailer") |
||
78 | * @SerializedName("swift-mailer") |
||
79 | */ |
||
80 | protected $swiftMailer; |
||
81 | |||
82 | /** |
||
83 | * Lifecycle callback that will be invoked after deserialization. |
||
84 | * |
||
85 | * @return void |
||
86 | * @PostDeserialize |
||
87 | */ |
||
88 | public function postDeserialize() |
||
96 | |||
97 | /** |
||
98 | * Set's the reference to the configuration instance. |
||
99 | * |
||
100 | * @param \TechDivision\Import\ConfigurationInterface $configuration The configuration instance |
||
101 | * |
||
102 | * @return void |
||
103 | */ |
||
104 | public function setConfiguration(ConfigurationInterface $configuration) |
||
108 | |||
109 | /** |
||
110 | * Return's the reference to the configuration instance. |
||
111 | * |
||
112 | * @return \TechDivision\Import\ConfigurationInterface The configuration instance |
||
113 | */ |
||
114 | public function getConfiguration() |
||
118 | |||
119 | /** |
||
120 | * Return's the subject's unique DI identifier. |
||
121 | * |
||
122 | * @return string The subject's unique DI identifier |
||
123 | */ |
||
124 | public function getId() |
||
128 | |||
129 | /** |
||
130 | * Return's the ArrayCollection with the operation's subjects. |
||
131 | * |
||
132 | * @return \Doctrine\Common\Collections\ArrayCollection The ArrayCollection with the operation's subjects |
||
133 | */ |
||
134 | public function getSubjects() |
||
138 | |||
139 | /** |
||
140 | * Return's the swift mailer configuration to use. |
||
141 | * |
||
142 | * @return TechDivision\Import\Configuration\Jms\Configuration\SwiftMailer The swift mailer configuration to use |
||
143 | */ |
||
144 | public function getSwiftMailer() |
||
148 | } |
||
149 |
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..