@@ -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]; |
@@ -131,7 +131,7 @@ |
||
| 131 | 131 | } |
| 132 | 132 | |
| 133 | 133 | /** |
| 134 | - * @param SetOperation|SetOperation[] $component the component to be built |
|
| 134 | + * @param SetOperation[] $component the component to be built |
|
| 135 | 135 | * @param array $options parameters for building |
| 136 | 136 | * |
| 137 | 137 | * @return string |
@@ -308,7 +308,7 @@ |
||
| 308 | 308 | * Checks if the given string is the beginning of a whitespace. |
| 309 | 309 | * |
| 310 | 310 | * @param string $str string to be checked |
| 311 | - * @param mixed $end |
|
| 311 | + * @param boolean $end |
|
| 312 | 312 | * |
| 313 | 313 | * @return int the appropriate flag for the comment type |
| 314 | 314 | */ |
@@ -498,7 +498,7 @@ |
||
| 498 | 498 | $i -= 2; |
| 499 | 499 | $part = substr($context, $i, 2); |
| 500 | 500 | /* No more numeric parts to strip */ |
| 501 | - if (! is_numeric($part)) { |
|
| 501 | + if (!is_numeric($part)) { |
|
| 502 | 502 | break 2; |
| 503 | 503 | } |
| 504 | 504 | } while (intval($part) === 0 && $i > 0); |
@@ -26,10 +26,8 @@ |
||
| 26 | 26 | * Constructor. |
| 27 | 27 | * |
| 28 | 28 | * @param string $msg the message of this exception |
| 29 | - * @param string $ch the character that produced this exception |
|
| 30 | - * @param int $pos the position of the character |
|
| 31 | 29 | * @param int $code the code of this error |
| 32 | - * @param mixed $name |
|
| 30 | + * @param string $name |
|
| 33 | 31 | */ |
| 34 | 32 | public function __construct($msg = '', $name = '', $code = 0) |
| 35 | 33 | { |