@@ -68,7 +68,6 @@ |
||
| 68 | 68 | * Initializes iterator, namespace, rootKey to generate. |
| 69 | 69 | * |
| 70 | 70 | * @param Bundle $bundle |
| 71 | - * @param string $className |
|
| 72 | 71 | */ |
| 73 | 72 | protected function initialize(array $config, Bundle $bundle) |
| 74 | 73 | { |
@@ -241,7 +241,6 @@ |
||
| 241 | 241 | /** |
| 242 | 242 | * Creates master node. |
| 243 | 243 | * |
| 244 | - * @param ConfigurationInterface $configuration |
|
| 245 | 244 | * |
| 246 | 245 | * @return ArrayNode |
| 247 | 246 | */ |
@@ -92,7 +92,6 @@ |
||
| 92 | 92 | * @param array $validated merged/validated array |
| 93 | 93 | * @param array $validating merging/validating array |
| 94 | 94 | * @param ConfigurationInterface $configuration configuration |
| 95 | - * @param ArrayNode $node master node |
|
| 96 | 95 | * |
| 97 | 96 | * @return array list of (validated array, merged ArrayNode) |
| 98 | 97 | */ |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | * |
| 38 | 38 | * @param string $file |
| 39 | 39 | * |
| 40 | - * @return SimpleXMLElement |
|
| 40 | + * @return \SimpleXMLElement |
|
| 41 | 41 | */ |
| 42 | 42 | protected function loadFile($file) |
| 43 | 43 | { |
@@ -39,7 +39,6 @@ |
||
| 39 | 39 | /** |
| 40 | 40 | * Sets a current locale to find cache file array. |
| 41 | 41 | * |
| 42 | - * @param string $locale |
|
| 43 | 42 | * |
| 44 | 43 | * @return ConfigCache |
| 45 | 44 | */ |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | * |
| 38 | 38 | * @param string $locale |
| 39 | 39 | * |
| 40 | - * @return YamlFileLoader |
|
| 40 | + * @return ArrayLoader |
|
| 41 | 41 | */ |
| 42 | 42 | public function setLocale($locale) |
| 43 | 43 | { |
@@ -63,7 +63,7 @@ |
||
| 63 | 63 | /** |
| 64 | 64 | * Returns the resource tied to this Resource. |
| 65 | 65 | * |
| 66 | - * @return mixed The resource |
|
| 66 | + * @return string The resource |
|
| 67 | 67 | */ |
| 68 | 68 | public function getResource() |
| 69 | 69 | { |
@@ -63,7 +63,7 @@ |
||
| 63 | 63 | /** |
| 64 | 64 | * Returns the resource tied to this Resource. |
| 65 | 65 | * |
| 66 | - * @return mixed The resource |
|
| 66 | + * @return string The resource |
|
| 67 | 67 | */ |
| 68 | 68 | public function getResource() |
| 69 | 69 | { |
@@ -133,6 +133,10 @@ discard block |
||
| 133 | 133 | ); |
| 134 | 134 | } |
| 135 | 135 | |
| 136 | + /** |
|
| 137 | + * @param \Symfony\Component\Console\Command\Command $instance |
|
| 138 | + * @param string $name |
|
| 139 | + */ |
|
| 136 | 140 | protected function getProperty($instance, $name) |
| 137 | 141 | { |
| 138 | 142 | $property = new \ReflectionProperty($instance, $name); |
@@ -141,6 +145,11 @@ discard block |
||
| 141 | 145 | return $property->getValue($instance); |
| 142 | 146 | } |
| 143 | 147 | |
| 148 | + /** |
|
| 149 | + * @param \Symfony\Component\Console\Command\Command $instance |
|
| 150 | + * @param string $name |
|
| 151 | + * @param string $value |
|
| 152 | + */ |
|
| 144 | 153 | protected function setProperty($instance, $name, $value) |
| 145 | 154 | { |
| 146 | 155 | $property = new \ReflectionProperty($instance, $name); |