File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 66
77use Doctrine \Common \Collections \ArrayCollection ;
88use Doctrine \Common \Collections \Criteria ;
9+ use Doctrine \DBAL \ArrayParameterType ;
10+ use Doctrine \DBAL \ParameterType ;
911use Doctrine \ORM \Internal \QueryType ;
1012use Doctrine \ORM \Query \Expr ;
1113use Doctrine \ORM \Query \Parameter ;
@@ -428,12 +430,12 @@ public function getRootEntities(): array
428430 * ->setParameter('user_id', 1);
429431 * </code>
430432 *
431- * @param string|int $key The parameter position or name.
432- * @param string|int|null $type ParameterType::* or \Doctrine\DBAL\Types\Type::* constant
433+ * @param string|int $key The parameter position or name.
434+ * @param ParameterType|ArrayParameterType| string|int|null $type ParameterType::*, ArrayParameterType ::* or \Doctrine\DBAL\Types\Type::* constant
433435 *
434436 * @return $this
435437 */
436- public function setParameter (string |int $ key , mixed $ value , string |int |null $ type = null ): static
438+ public function setParameter (string |int $ key , mixed $ value , ParameterType | ArrayParameterType | string |int |null $ type = null ): static
437439 {
438440 $ existingParameter = $ this ->getParameter ($ key );
439441
You can’t perform that action at this time.
0 commit comments