diff options
Diffstat (limited to 'src/Components')
-rw-r--r-- | src/Components/DataType.php | 2 | ||||
-rw-r--r-- | src/Components/Expression.php | 2 | ||||
-rw-r--r-- | src/Components/IntoKeyword.php | 2 | ||||
-rw-r--r-- | src/Components/UnionKeyword.php | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/Components/DataType.php b/src/Components/DataType.php index 0d8dea3..d19d434 100644 --- a/src/Components/DataType.php +++ b/src/Components/DataType.php @@ -94,7 +94,7 @@ class DataType extends Component * @param TokensList $list the list of tokens that are being parsed * @param array $options parameters for parsing * - * @return DataType + * @return DataType|null */ public static function parse(Parser $parser, TokensList $list, array $options = array()) { diff --git a/src/Components/Expression.php b/src/Components/Expression.php index 67767dc..2cf119b 100644 --- a/src/Components/Expression.php +++ b/src/Components/Expression.php @@ -153,7 +153,7 @@ class Expression extends Component * @param TokensList $list the list of tokens that are being parsed * @param array $options parameters for parsing * - * @return Expression + * @return Expression|null */ public static function parse(Parser $parser, TokensList $list, array $options = array()) { diff --git a/src/Components/IntoKeyword.php b/src/Components/IntoKeyword.php index a31f6a0..dea5d9d 100644 --- a/src/Components/IntoKeyword.php +++ b/src/Components/IntoKeyword.php @@ -118,7 +118,7 @@ class IntoKeyword extends Component * @param array $columns column list of destination * @param array $values selected fields * @param OptionsArray $fields_options options for FIELDS/COLUMNS keyword - * @param OptionsArray $fields_keyword options for OPTINOS keyword + * @param bool $fields_keyword options for OPTIONS keyword */ public function __construct( $type = null, diff --git a/src/Components/UnionKeyword.php b/src/Components/UnionKeyword.php index 2de5126..6867615 100644 --- a/src/Components/UnionKeyword.php +++ b/src/Components/UnionKeyword.php @@ -18,8 +18,8 @@ use PhpMyAdmin\SqlParser\Component; class UnionKeyword extends Component { /** - * @param UnionKeyword[] $component the component to be built - * @param array $options parameters for building + * @param array<UnionKeyword[]> $component the component to be built + * @param array $options parameters for building * * @return string */ |