projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
vendor
/
symfony
/
validator
/
ConstraintViolationList.php
diff --git
a/vendor/symfony/validator/ConstraintViolationList.php
b/vendor/symfony/validator/ConstraintViolationList.php
index a80d602b26fd96e10ec46c40218f7cd843bc71d2..c18dd2195fab906945a912d49057b4048432e6d0 100644
(file)
--- a/
vendor/symfony/validator/ConstraintViolationList.php
+++ b/
vendor/symfony/validator/ConstraintViolationList.php
@@
-120,7
+120,7
@@
class ConstraintViolationList implements \IteratorAggregate, ConstraintViolation
*/
public function count()
{
*/
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) {
$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;
}
}
$violations[] = $violation;
}
}