@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | public const ARG_TYPE_STRING = 'string'; |
64 | 64 | |
65 | 65 | /** @var string[] string s */ |
66 | - public const STRING_TYPES = [ self::T_STRING ]; |
|
66 | + public const STRING_TYPES = [self::T_STRING]; |
|
67 | 67 | |
68 | 68 | /** @var string[] integer d, u, c, o, x, X, b */ |
69 | 69 | public const INTEGER_TYPES = [ |
@@ -168,15 +168,15 @@ discard block |
||
168 | 168 | * ArgumentLexeme::ARG_TYPE_STRING |
169 | 169 | */ |
170 | 170 | public function argType() : string { |
171 | - if( in_array($this->lexItemType, self::INTEGER_TYPES, true) ) { |
|
171 | + if (in_array($this->lexItemType, self::INTEGER_TYPES, true)) { |
|
172 | 172 | return self::ARG_TYPE_INT; |
173 | 173 | } |
174 | 174 | |
175 | - if( in_array($this->lexItemType, self::DOUBLE_TYPES, true) ) { |
|
175 | + if (in_array($this->lexItemType, self::DOUBLE_TYPES, true)) { |
|
176 | 176 | return self::ARG_TYPE_DOUBLE; |
177 | 177 | } |
178 | 178 | |
179 | - if( in_array($this->lexItemType, self::STRING_TYPES, true) ) { |
|
179 | + if (in_array($this->lexItemType, self::STRING_TYPES, true)) { |
|
180 | 180 | return self::ARG_TYPE_STRING; |
181 | 181 | } |
182 | 182 |