File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 6
6
7
7
use Doctrine \Common \Collections \ArrayCollection ;
8
8
use Doctrine \Common \Collections \Criteria ;
9
+ use Doctrine \DBAL \ArrayParameterType ;
10
+ use Doctrine \DBAL \ParameterType ;
9
11
use Doctrine \ORM \Internal \QueryType ;
10
12
use Doctrine \ORM \Query \Expr ;
11
13
use Doctrine \ORM \Query \Parameter ;
@@ -428,12 +430,12 @@ public function getRootEntities(): array
428
430
* ->setParameter('user_id', 1);
429
431
* </code>
430
432
*
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
433
435
*
434
436
* @return $this
435
437
*/
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
437
439
{
438
440
$ existingParameter = $ this ->getParameter ($ key );
439
441
You can’t perform that action at this time.
0 commit comments