Passed
Push — master ( 42d865...54862f )
by Kacper
03:02
created
Parser/GreedyParser.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     private $_language;
51 51
 
52 52
     public function __construct(Language $language = null) {
53
-        if($language) {
53
+        if ($language) {
54 54
             $this->setLanguage($language);
55 55
         }
56 56
     }
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
             $token = $tokens->current();
74 74
 
75 75
             if ($token->isValid($this->_language, $this->_context)) {
76
-                if(($token->isStart() ? $this->handleStart($token) : $this->handleEnd($token)) === false) {
76
+                if (($token->isStart() ? $this->handleStart($token) : $this->handleEnd($token)) === false) {
77 77
                     break;
78 78
                 };
79 79
             }
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
             if ($start) {
121 121
                 unset($this->_context[spl_object_hash($start)]);
122 122
             } else {
123
-                $start = ArrayHelper::find(array_reverse($this->_context), function ($k, $v) use ($token) {
123
+                $start = ArrayHelper::find(array_reverse($this->_context), function($k, $v) use ($token) {
124 124
                     return $v === $token->name;
125 125
                 });
126 126
 
Please login to merge, or discard this patch.