@@ -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 |
@@ -339,6 +339,11 @@ |
||
| 339 | 339 | } |
| 340 | 340 | } |
| 341 | 341 | |
| 342 | + /** |
|
| 343 | + * @param Parser $parser |
|
| 344 | + * @param TokensList $list |
|
| 345 | + * @param integer $state |
|
| 346 | + */ |
|
| 342 | 347 | public function parseKeywordsAccordingToState($parser, $list, $state) |
| 343 | 348 | { |
| 344 | 349 | $token = $list->tokens[$list->idx]; |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | * @param TokensList $list the list of tokens that are being parsed |
| 40 | 40 | * @param array $options parameters for parsing |
| 41 | 41 | * |
| 42 | - * @return CaseExpression |
|
| 42 | + * @return LockExpression |
|
| 43 | 43 | */ |
| 44 | 44 | public static function parse(Parser $parser, TokensList $list, array $options = array()) |
| 45 | 45 | { |
@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | } |
| 99 | 99 | |
| 100 | 100 | /** |
| 101 | - * @param LockExpression|LockExpression[] $component the component to be built |
|
| 101 | + * @param LockExpression[] $component the component to be built |
|
| 102 | 102 | * @param array $options parameters for building |
| 103 | 103 | * |
| 104 | 104 | * @return string |
@@ -326,7 +326,7 @@ |
||
| 326 | 326 | * Checks if the given string is the beginning of a whitespace. |
| 327 | 327 | * |
| 328 | 328 | * @param string $str string to be checked |
| 329 | - * @param mixed $end |
|
| 329 | + * @param boolean $end |
|
| 330 | 330 | * |
| 331 | 331 | * @return int|null the appropriate flag for the comment type |
| 332 | 332 | */ |
@@ -125,7 +125,7 @@ |
||
| 125 | 125 | * |
| 126 | 126 | * @param Parser $parser the instance that requests parsing |
| 127 | 127 | * @param Token $token token to be parsed |
| 128 | - * @param Array $expected_keywords array of possibly expected keywords at this point |
|
| 128 | + * @param string[] $expected_keywords array of possibly expected keywords at this point |
|
| 129 | 129 | */ |
| 130 | 130 | private static function parseExpectedKeyword($parser, $token, $expected_keywords) |
| 131 | 131 | { |