X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fsymfony%2Fvalidator%2FConstraintViolationList.php;fp=vendor%2Fsymfony%2Fvalidator%2FConstraintViolationList.php;h=c18dd2195fab906945a912d49057b4048432e6d0;hp=a80d602b26fd96e10ec46c40218f7cd843bc71d2;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/vendor/symfony/validator/ConstraintViolationList.php b/vendor/symfony/validator/ConstraintViolationList.php index a80d602b2..c18dd2195 100644 --- a/vendor/symfony/validator/ConstraintViolationList.php +++ b/vendor/symfony/validator/ConstraintViolationList.php @@ -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; } }