mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-24 10:49:00 +02:00
Added stricter phpstan checks
This commit is contained in:
parent
78b0e1bf7e
commit
2f46fbfc7a
4 changed files with 69 additions and 2 deletions
|
@ -94,6 +94,7 @@ class InstanceOfConstraint extends AbstractConstraint
|
|||
|
||||
$expressions = [];
|
||||
|
||||
/** @phpstan-ignore-next-line */
|
||||
if ($this->operator === 'ANY' || $this->operator === 'NONE') {
|
||||
foreach($this->value as $value) {
|
||||
//We can not use a parameter here, as this is the only way to pass the FCQN to the query (via binded params, we would need to use ClassMetaData). See: https://github.com/doctrine/orm/issues/4462
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue