@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | * The position is counted in chars, not bytes, so you should |
94 | 94 | * use mb_* functions to properly handle utf-8 multibyte chars. |
95 | 95 | */ |
96 | - public int|null $position = null; |
|
96 | + public int | null $position = null; |
|
97 | 97 | |
98 | 98 | /** |
99 | 99 | * @param string $token the value of the token |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | switch ($this->type) { |
119 | 119 | case TokenType::Keyword: |
120 | 120 | $this->keyword = strtoupper($this->token); |
121 | - if (! ($this->flags & self::FLAG_KEYWORD_RESERVED)) { |
|
121 | + if (!($this->flags & self::FLAG_KEYWORD_RESERVED)) { |
|
122 | 122 | // Unreserved keywords should stay the way they are because they |
123 | 123 | // might represent field names. |
124 | 124 | return $this->token; |
@@ -143,7 +143,7 @@ discard block |
||
143 | 143 | } |
144 | 144 | } elseif (($this->flags & self::FLAG_NUMBER_APPROXIMATE) || ($this->flags & self::FLAG_NUMBER_FLOAT)) { |
145 | 145 | $ret = (float) $ret; |
146 | - } elseif (! ($this->flags & self::FLAG_NUMBER_BINARY)) { |
|
146 | + } elseif (!($this->flags & self::FLAG_NUMBER_BINARY)) { |
|
147 | 147 | $ret = (int) $ret; |
148 | 148 | } |
149 | 149 | |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | // in PHP 5.3- the `null` parameter isn't handled correctly. |
179 | 179 | $str = mb_substr( |
180 | 180 | $str, |
181 | - ! empty($str[1]) && ($str[1] === '@') ? 2 : 1, |
|
181 | + !empty($str[1]) && ($str[1] === '@') ? 2 : 1, |
|
182 | 182 | mb_strlen($str), |
183 | 183 | 'UTF-8', |
184 | 184 | ); |