@@ -111,7 +111,7 @@ |
||
| 111 | 111 | * @param string $separator |
| 112 | 112 | * @param callable $parser |
| 113 | 113 | * |
| 114 | - * @return array |
|
| 114 | + * @return TableEntryASTNode[] |
|
| 115 | 115 | */ |
| 116 | 116 | protected function delimited($start, $stop, $separator, callable $parser) { |
| 117 | 117 | $a = []; |
@@ -53,7 +53,7 @@ |
||
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | /** |
| 56 | - * @param $input |
|
| 56 | + * @param TableASTNode $input |
|
| 57 | 57 | * |
| 58 | 58 | * @return array |
| 59 | 59 | * @throws LuaParseException |
@@ -105,7 +105,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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); |