@@ -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 |
@@ -75,7 +75,7 @@ |
||
| 75 | 75 | $this->byteIdx = 0; |
| 76 | 76 | $this->charIdx = 0; |
| 77 | 77 | $this->byteLen = mb_strlen($str, '8bit'); |
| 78 | - if (! mb_check_encoding($str, 'UTF-8')) { |
|
| 78 | + if (!mb_check_encoding($str, 'UTF-8')) { |
|
| 79 | 79 | $this->charLen = 0; |
| 80 | 80 | } else { |
| 81 | 81 | $this->charLen = mb_strlen($str, 'UTF-8'); |
@@ -307,7 +307,7 @@ |
||
| 307 | 307 | * |
| 308 | 308 | * @return int the appropriate flag for the comment type |
| 309 | 309 | */ |
| 310 | - public static function isComment($str, $end=false) |
|
| 310 | + public static function isComment($str, $end = false) |
|
| 311 | 311 | { |
| 312 | 312 | $len = strlen($str); |
| 313 | 313 | if ($len == 0) { |
@@ -26,8 +26,6 @@ |
||
| 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 | 30 | */ |
| 33 | 31 | public function __construct($msg = '', $name = '', $code = 0) |