@@ -59,7 +59,7 @@ |
||
| 59 | 59 | foreach (array_keys($this->_pending) as $position) { |
| 60 | 60 | uasort( |
| 61 | 61 | $this->_tokens[$position], |
| 62 | - Token::class.'::compare' |
|
| 62 | + Token::class . '::compare' |
|
| 63 | 63 | ); |
| 64 | 64 | } |
| 65 | 65 | $this->_pending = []; |
@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | $token = $tokens->current(); |
| 119 | 119 | |
| 120 | 120 | if ($token->isValid($this, $this->_context)) { |
| 121 | - if(($token->isStart() ? $this->handleStart($token) : $this->handleEnd($token)) === false) { |
|
| 121 | + if (($token->isStart() ? $this->handleStart($token) : $this->handleEnd($token)) === false) { |
|
| 122 | 122 | break; |
| 123 | 123 | }; |
| 124 | 124 | } |
@@ -287,7 +287,7 @@ discard block |
||
| 287 | 287 | if ($start) { |
| 288 | 288 | unset($this->_context[spl_object_hash($start)]); |
| 289 | 289 | } else { |
| 290 | - $start = ArrayHelper::find(array_reverse($this->_context), function ($k, $v) use ($token) { |
|
| 290 | + $start = ArrayHelper::find(array_reverse($this->_context), function($k, $v) use ($token) { |
|
| 291 | 291 | return $v === $token->name; |
| 292 | 292 | }); |
| 293 | 293 | |