@@ -198,7 +198,7 @@ |
||
198 | 198 | } |
199 | 199 | |
200 | 200 | /** |
201 | - * @param PartitionDefinition|PartitionDefinition[] $component The component to be built. |
|
201 | + * @param PartitionDefinition[] $component The component to be built. |
|
202 | 202 | * @param array $options Parameters for building. |
203 | 203 | * |
204 | 204 | * @return string |
@@ -505,7 +505,7 @@ |
||
505 | 505 | * @param Statement $statement The parsed query that has to be modified. |
506 | 506 | * @param TokensList $list The list of tokens. |
507 | 507 | * @param string $clause The clause to be returned. |
508 | - * @param int|string $type The type of the search. |
|
508 | + * @param integer $type The type of the search. |
|
509 | 509 | * If int, |
510 | 510 | * -1 for everything that was before |
511 | 511 | * 0 only for the clause |
@@ -226,7 +226,7 @@ discard block |
||
226 | 226 | ++$list->idx; // Skip 'FROM' |
227 | 227 | $this->from = ExpressionArray::parse($parser, $list); |
228 | 228 | $state = 2; |
229 | - } elseif ($token->type === Token::TYPE_KEYWORD) { |
|
229 | + } elseif ($token->type === Token::TYPE_KEYWORD) { |
|
230 | 230 | $parser->error(__('Unexpected keyword.'), $token); |
231 | 231 | break; |
232 | 232 | } else { |
@@ -278,7 +278,7 @@ discard block |
||
278 | 278 | ++$list->idx; // Skip 'ORDER BY' |
279 | 279 | $this->order = OrderKeyword::parse($parser, $list); |
280 | 280 | $state = 5; |
281 | - } elseif ($token->type === Token::TYPE_KEYWORD |
|
281 | + } elseif ($token->type === Token::TYPE_KEYWORD |
|
282 | 282 | && $token->value === 'LIMIT' |
283 | 283 | ) { |
284 | 284 | ++$list->idx; // Skip 'LIMIT' |
@@ -298,7 +298,7 @@ discard block |
||
298 | 298 | ++$list->idx; // Skip 'ORDER BY' |
299 | 299 | $this->order = OrderKeyword::parse($parser, $list); |
300 | 300 | $state = 5; |
301 | - } elseif ($token->type === Token::TYPE_KEYWORD |
|
301 | + } elseif ($token->type === Token::TYPE_KEYWORD |
|
302 | 302 | && $token->value === 'LIMIT' |
303 | 303 | ) { |
304 | 304 | ++$list->idx; // Skip 'LIMIT' |