@@ -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($this->_handleToken($token) === false) { |
|
| 121 | + if ($this->_handleToken($token) === false) { |
|
| 122 | 122 | break; |
| 123 | 123 | }; |
| 124 | 124 | } |
@@ -285,7 +285,7 @@ discard block |
||
| 285 | 285 | if ($start) { |
| 286 | 286 | unset($this->_context[spl_object_hash($start)]); |
| 287 | 287 | } else { |
| 288 | - $start = ArrayHelper::find(array_reverse($this->_context), function ($k, $v) use ($token) { |
|
| 288 | + $start = ArrayHelper::find(array_reverse($this->_context), function($k, $v) use ($token) { |
|
| 289 | 289 | return $v === $token->name; |
| 290 | 290 | }); |
| 291 | 291 | |