@@ -140,11 +140,11 @@ |
||
| 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 | { |
@@ -111,7 +111,7 @@ |
||
| 111 | 111 | $this->moduleContainer, |
| 112 | 112 | ) |
| 113 | 113 | ); |
| 114 | - } |
|
| 114 | + } |
|
| 115 | 115 | |
| 116 | 116 | /** |
| 117 | 117 | * Initializes markup validator. |