Skip to content

Commit 44faad2

Browse files
author
Wout Gevaert
committed
Correct type hint for Query::detachDelet
1 parent 32f0a1b commit 44faad2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Query.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ public function delete($structures, bool $detach = false): self
483483
/**
484484
* Creates the DETACH DELETE clause.
485485
*
486-
* @param Variable|Pattern|(Variable|Pattern)[] $variables The variables to delete, including nodes, relationships and paths
486+
* @param StructuralType|Pattern|(StructuralType|Pattern)[] $variables The variables to delete, including nodes, relationships and paths
487487
*
488488
* @return $this
489489
* @see https://neo4j.com/docs/cypher-manual/current/clauses/delete/

0 commit comments

Comments
 (0)