|
@@ -140,11 +140,11 @@ |
|
|
block discarded – undo |
|
140
|
140
|
* |
|
141
|
141
|
* @param string $componentName Component name. |
|
142
|
142
|
* @param string $interface An interface component must implement. |
|
143
|
|
- * @param array $arguments Component's constructor arguments. |
|
|
143
|
+ * @param ModuleContainer[] $arguments Component's constructor arguments. |
|
144
|
144
|
* |
|
145
|
145
|
* @throws Exception When component does not implement expected interface. |
|
146
|
146
|
* |
|
147
|
|
- * @return object Instance of a module component. |
|
|
147
|
+ * @return ComponentInterface Instance of a module component. |
|
148
|
148
|
*/ |
|
149
|
149
|
private function instantiateComponent($componentName, $interface, array $arguments = array()) |
|
150
|
150
|
{ |
Please login to merge, or discard this patch.