Completed
Branch master (d251e3)
by Koen
02:38
created
src/LuaTokenStream.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 
106 106
     protected function skipComment() {
107 107
         $this->readWhile(
108
-            function ($char) {
108
+            function($char) {
109 109
                 return $char != "\n";
110 110
             }
111 111
         );
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
     protected function readNumber() {
162 162
         $hasDot = false;
163 163
         $number = $this->readWhile(
164
-            function ($char) use (&$hasDot) {
164
+            function($char) use (&$hasDot) {
165 165
                 if ($char == '.') {
166 166
                     if ($hasDot) {
167 167
                         return false;
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
     protected function readIdentifier() {
182 182
         $first      = false;
183 183
         $identifier = $this->readWhile(
184
-            function ($char) use (&$first) {
184
+            function($char) use (&$first) {
185 185
                 if ($first) {
186 186
                     $first = false;
187 187
                     return $this->isStartIdentifierCharacter($char);
Please login to merge, or discard this patch.