Skip to content

Commit 6784fdb

Browse files
Do not use mixed[] typehint
1 parent e1083ae commit 6784fdb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Expressions/Procedures/Procedure.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ abstract class Procedure implements QueryConvertible
3636
* Cypher queries. The parameters of this function are not type-checked.
3737
*
3838
* @param string $functionName The name of the function to call
39-
* @param AnyType|AnyType[]|bool|bool[]|float|float[]|int|int[]|mixed[]|mixed[][]|Pattern|Pattern[]|string|string[]|(AnyType|bool|float|int|mixed[]|Pattern|string)[] $parameters The parameters to pass to the function call
39+
* @param AnyType|AnyType[]|bool|bool[]|float|float[]|int|int[]|mixed[][]|Pattern|Pattern[]|string|string[]|(AnyType|bool|float|int|mixed[]|Pattern|string)[] $parameters The parameters to pass to the function call
4040
*/
4141
public static function raw(string $functionName, $parameters = []): Raw
4242
{

src/Query.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ public function match($patterns): self
450450
/**
451451
* Creates the RETURN clause.
452452
*
453-
* @param Alias|Alias[]|AnyType|AnyType[]|mixed[]|bool|bool[]|float|float[]|int|int[]|Pattern|Pattern[]|string|string[]|(Alias|AnyType|mixed[]|bool|float|int|Pattern|string)[] $expressions A single expression to return, or a non-empty list of expressions to return
453+
* @param Alias|Alias[]|AnyType|AnyType[]|bool|bool[]|float|float[]|int|int[]|Pattern|Pattern[]|string|string[]|(Alias|AnyType|mixed[]|bool|float|int|Pattern|string)[] $expressions A single expression to return, or a non-empty list of expressions to return
454454
* @param bool $distinct Whether to be a RETURN DISTINCT clause (optional, default: false)
455455
*
456456
* @return $this
@@ -722,7 +722,7 @@ public function where($expressions, string $operator = WhereClause::AND): self
722722
/**
723723
* Creates the WITH clause.
724724
*
725-
* @param Alias|Alias[]|AnyType|AnyType[]|bool|bool[]|float|float[]|int|int[]|mixed[]|mixed[][]|Pattern|Pattern[]|string|string[]|(Alias|AnyType|bool|float|int|mixed[]|Pattern|string)[] $expressions An entry to add, or a non-empty list of entries to add; if the array-key is non-numerical, it is used as the alias
725+
* @param Alias|Alias[]|AnyType|AnyType[]|bool|bool[]|float|float[]|int|int[]|mixed[][]|Pattern|Pattern[]|string|string[]|(Alias|AnyType|bool|float|int|mixed[]|Pattern|string)[] $expressions An entry to add, or a non-empty list of entries to add; if the array-key is non-numerical, it is used as the alias
726726
*
727727
* @return $this
728728
*

0 commit comments

Comments
 (0)