Upgrade 1-11.38

This commit is contained in:
xesmyd
2026-03-30 14:10:30 +02:00
parent f2a7e6d1fc
commit ac648ef29d
24665 changed files with 69682 additions and 2205004 deletions
+2 -2
View File
@@ -120,7 +120,7 @@ class ConstraintViolationList implements \IteratorAggregate, ConstraintViolation
*/
public function count()
{
return count($this->violations);
return \count($this->violations);
}
/**
@@ -171,7 +171,7 @@ class ConstraintViolationList implements \IteratorAggregate, ConstraintViolation
$codes = (array) $codes;
$violations = array();
foreach ($this as $violation) {
if (in_array($violation->getCode(), $codes, true)) {
if (\in_array($violation->getCode(), $codes, true)) {
$violations[] = $violation;
}
}