@@ -293,10 +293,11 @@ |
||
| 293 | 293 | { |
| 294 | 294 | $result = []; |
| 295 | 295 | $names = $this->addWildcardHooksToNames($command->getNames(), $command->getAnnotationData()); |
| 296 | - foreach ($names as $name) |
|
| 297 | - if (isset($this->hookOptions[$name])) { |
|
| 296 | + foreach ($names as $name) { |
|
| 297 | + if (isset($this->hookOptions[$name])) { |
|
| 298 | 298 | $result = array_merge($result, $this->hookOptions[$name]); |
| 299 | 299 | } |
| 300 | + } |
|
| 300 | 301 | return $result; |
| 301 | 302 | } |
| 302 | 303 | |