@@ -194,7 +194,7 @@ |
||
| 194 | 194 | } |
| 195 | 195 | |
| 196 | 196 | /** |
| 197 | - * @param PartitionDefinition|PartitionDefinition[] $component the component to be built |
|
| 197 | + * @param PartitionDefinition[] $component the component to be built |
|
| 198 | 198 | * @param array $options parameters for building |
| 199 | 199 | * |
| 200 | 200 | * @return string |
@@ -499,7 +499,7 @@ |
||
| 499 | 499 | * @param Statement $statement the parsed query that has to be modified |
| 500 | 500 | * @param TokensList $list the list of tokens |
| 501 | 501 | * @param string $clause the clause to be returned |
| 502 | - * @param int|string $type The type of the search. |
|
| 502 | + * @param integer $type The type of the search. |
|
| 503 | 503 | * If int, |
| 504 | 504 | * -1 for everything that was before |
| 505 | 505 | * 0 only for the clause |
@@ -483,7 +483,7 @@ |
||
| 483 | 483 | if ($minJoin === 0 && stripos($clauseType, 'JOIN')) { |
| 484 | 484 | // First JOIN clause is detected |
| 485 | 485 | $minJoin = $maxJoin = $clauseStartIdx; |
| 486 | - } elseif ($minJoin !== 0 && ! stripos($clauseType, 'JOIN')) { |
|
| 486 | + } elseif ($minJoin !== 0 && !stripos($clauseType, 'JOIN')) { |
|
| 487 | 487 | // After a previous JOIN clause, a non-JOIN clause has been detected |
| 488 | 488 | $maxJoin = $lastIdx; |
| 489 | 489 | } elseif ($maxJoin < $clauseStartIdx && stripos($clauseType, 'JOIN')) { |