@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | public function addValidator(ValidatorInterface $validator, $name = '*', $stage = self::PRIMARY_STAGE) |
53 | 53 | { |
54 | 54 | $this->checkValidStage($stage); |
55 | - $this->hooks[$name][$stage . self::ARGUMENT_VALIDATOR][] = $validator; |
|
55 | + $this->hooks[$name][$stage.self::ARGUMENT_VALIDATOR][] = $validator; |
|
56 | 56 | } |
57 | 57 | |
58 | 58 | /** |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | public function addResultProcessor(ProcessResultInterface $resultProcessor, $name = '*', $stage = self::PRIMARY_STAGE) |
66 | 66 | { |
67 | 67 | $this->checkValidStage($stage); |
68 | - $this->hooks[$name][$stage . self::PROCESS_RESULT][] = $resultProcessor; |
|
68 | + $this->hooks[$name][$stage.self::PROCESS_RESULT][] = $resultProcessor; |
|
69 | 69 | } |
70 | 70 | |
71 | 71 | /** |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | public function addAlterResult(AlterResultInterface $resultAlterer, $name = '*', $stage = self::PRIMARY_STAGE) |
81 | 81 | { |
82 | 82 | $this->checkValidStage($stage); |
83 | - $this->hooks[$name][$stage . self::ALTER_RESULT][] = $resultAlterer; |
|
83 | + $this->hooks[$name][$stage.self::ALTER_RESULT][] = $resultAlterer; |
|
84 | 84 | } |
85 | 85 | |
86 | 86 | /** |
@@ -332,7 +332,7 @@ discard block |
||
332 | 332 | { |
333 | 333 | $validStages = [self::PRE_STAGE, self::PRIMARY_STAGE, self::POST_STAGE]; |
334 | 334 | if (!in_array($stage, $validStages)) { |
335 | - throw new \Exception("Invalid stage '$stage' specified; must be one of " . implode(',', $validStages)); |
|
335 | + throw new \Exception("Invalid stage '$stage' specified; must be one of ".implode(',', $validStages)); |
|
336 | 336 | } |
337 | 337 | } |
338 | 338 | } |