Skip to content

Commit 56eea3e

Browse files
Some fixes to typing
1 parent b2c9a1c commit 56eea3e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+140
-181
lines changed

src/Clauses/CallClause.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function withSubQuery(Query $subQuery): self
6969
*
7070
* @see https://neo4j.com/docs/cypher-manual/current/clauses/call-subquery/#subquery-correlated-importing
7171
*/
72-
public function withVariables(array $variables): self
72+
public function withVariables(...$variables): self
7373
{
7474
$res = [];
7575

src/Expressions/Functions/All.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
*
2222
* @see https://neo4j.com/docs/cypher-manual/current/functions/predicate/#functions-all
2323
* @see Func::all()
24-
*
25-
* @internal This class is not covered by the backwards compatibility promise of php-cypher-dsl
2624
*/
2725
final class All extends Func implements BooleanType
2826
{
@@ -51,6 +49,7 @@ final class All extends Func implements BooleanType
5149
* @param Variable|string $variable A variable that can be used from within the predicate
5250
* @param ListType|array $list A list
5351
* @param AnyType $predicate A predicate that is tested against all items in the list
52+
* @internal This method is not covered by the backwards compatibility guarantee of php-cypher-dsl
5453
*/
5554
public function __construct($variable, $list, AnyType $predicate)
5655
{

src/Expressions/Functions/Any.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
*
2121
* @see https://neo4j.com/docs/cypher-manual/current/functions/predicate/#functions-any
2222
* @see Func::any()
23-
*
24-
* @internal This class is not covered by the backwards compatibility promise of php-cypher-dsl
2523
*/
2624
final class Any extends Func implements BooleanType
2725
{
@@ -50,6 +48,7 @@ final class Any extends Func implements BooleanType
5048
* @param Variable $variable A variable that can be used from within the predicate
5149
* @param ListType $list A list
5250
* @param AnyType $predicate A predicate that is tested against all items in the list
51+
* @internal This method is not covered by the backwards compatibility guarantee of php-cypher-dsl
5352
*/
5453
public function __construct(Variable $variable, ListType $list, AnyType $predicate)
5554
{

src/Expressions/Functions/Date.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
*
1919
* @see https://neo4j.com/docs/cypher-manual/current/functions/temporal/#functions-date
2020
* @see Func::date()
21-
*
22-
* @internal This class is not covered by the backwards compatibility promise of php-cypher-dsl
2321
*/
2422
final class Date extends Func implements DateType
2523
{
@@ -36,6 +34,7 @@ final class Date extends Func implements DateType
3634
* date(input = DEFAULT_TEMPORAL_ARGUMENT :: ANY?) :: (DATE?)
3735
*
3836
* @param AnyType|null $value The input to the date function, from which to construct the date
37+
* @internal This method is not covered by the backwards compatibility guarantee of php-cypher-dsl
3938
*/
4039
public function __construct(?AnyType $value = null)
4140
{

src/Expressions/Functions/DateTime.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
*
1919
* @see https://neo4j.com/docs/cypher-manual/current/functions/temporal/#functions-datetime
2020
* @see Func::datetime()
21-
*
22-
* @internal This class is not covered by the backwards compatibility promise of php-cypher-dsl
2321
*/
2422
final class DateTime extends Func implements DateTimeType
2523
{
@@ -36,6 +34,7 @@ final class DateTime extends Func implements DateTimeType
3634
* datetime(input = DEFAULT_TEMPORAL_ARGUMENT :: ANY?) :: (DATETIME?)
3735
*
3836
* @param AnyType|null $value The input to the datetime function, from which to construct the datetime
37+
* @internal This method is not covered by the backwards compatibility guarantee of php-cypher-dsl
3938
*/
4039
public function __construct(?AnyType $value = null)
4140
{

src/Expressions/Functions/Exists.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
*
1919
* @see https://neo4j.com/docs/cypher-manual/current/functions/predicate/#functions-exists
2020
* @see Func::exists()
21-
*
22-
* @internal This class is not covered by the backwards compatibility promise of php-cypher-dsl
2321
*/
2422
final class Exists extends Func implements BooleanType
2523
{
@@ -36,6 +34,7 @@ final class Exists extends Func implements BooleanType
3634
* exists(input :: ANY?) :: (BOOLEAN?)
3735
*
3836
* @param AnyType $expression The value to check whether it exists
37+
* @internal This method is not covered by the backwards compatibility guarantee of php-cypher-dsl
3938
*/
4039
public function __construct(AnyType $expression)
4140
{

src/Expressions/Functions/IsEmpty.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
*
2323
* @see https://neo4j.com/docs/cypher-manual/current/functions/predicate/#functions-isempty
2424
* @see Func::isEmpty()
25-
*
26-
* @internal This class is not covered by the backwards compatibility promise of php-cypher-dsl
2725
*/
2826
final class IsEmpty extends Func implements BooleanType
2927
{
@@ -43,6 +41,7 @@ final class IsEmpty extends Func implements BooleanType
4341
* isEmpty(input :: STRING?) :: (BOOLEAN?) - to check whether a string is empty
4442
*
4543
* @param ListType|MapType|StringType $list An expression that returns a list
44+
* @internal This method is not covered by the backwards compatibility promise of php-cypher-dsl
4645
*/
4746
public function __construct(AnyType $list)
4847
{

src/Expressions/Functions/LocalDateTime.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
*
1919
* @see https://neo4j.com/docs/cypher-manual/current/functions/temporal/#functions-localdatetime
2020
* @see Func::localdatetime()
21-
*
22-
* @internal This class is not covered by the backwards compatibility promise of php-cypher-dsl
2321
*/
2422
final class LocalDateTime extends Func implements LocalDateTimeType
2523
{
@@ -36,6 +34,7 @@ final class LocalDateTime extends Func implements LocalDateTimeType
3634
* localdatetime(input = DEFAULT_TEMPORAL_ARGUMENT :: ANY?) :: (LOCALDATETIME?)
3735
*
3836
* @param AnyType|null $value The input to the localdatetime function, from which to construct the localdatetime
37+
* @internal This method is not covered by the backwards compatibility guarantee of php-cypher-dsl
3938
*/
4039
public function __construct(?AnyType $value = null)
4140
{

src/Expressions/Functions/LocalTime.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
*
1919
* @see https://neo4j.com/docs/cypher-manual/current/functions/temporal/#functions-localtime
2020
* @see Func::localtime()
21-
*
22-
* @internal This class is not covered by the backwards compatibility promise of php-cypher-dsl
2321
*/
2422
final class LocalTime extends Func implements LocalTimeType
2523
{
@@ -36,6 +34,7 @@ final class LocalTime extends Func implements LocalTimeType
3634
* localtime(input = DEFAULT_TEMPORAL_ARGUMENT :: ANY?) :: (LOCALTIME?)
3735
*
3836
* @param AnyType|null $value The input to the localtime function, from which to construct the localtime
37+
* @internal This method is not covered by the backwards compatibility guarantee of php-cypher-dsl
3938
*/
4039
public function __construct(?AnyType $value = null)
4140
{

src/Expressions/Functions/None.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
*
2121
* @see https://neo4j.com/docs/cypher-manual/current/functions/predicate/#functions-none
2222
* @see Func::none()
23-
*
24-
* @internal This class is not covered by the backwards compatibility promise of php-cypher-dsl
2523
*/
2624
final class None extends Func implements BooleanType
2725
{
@@ -50,6 +48,7 @@ final class None extends Func implements BooleanType
5048
* @param Variable $variable A variable that can be used from within the predicate
5149
* @param ListType $list A list
5250
* @param AnyType $predicate A predicate that is tested against all items in the list
51+
* @internal This method is not covered by the backwards compatibility guarantee of php-cypher-dsl
5352
*/
5453
public function __construct(Variable $variable, ListType $list, AnyType $predicate)
5554
{

0 commit comments

Comments
 (0)