comparison vendor/symfony/validator/Constraints/AllValidator.php @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents c75dbcec494b
children
comparison
equal deleted inserted replaced
3:307d7a7fd348 4:a9cd425dd02b
31 31
32 if (null === $value) { 32 if (null === $value) {
33 return; 33 return;
34 } 34 }
35 35
36 if (!is_array($value) && !$value instanceof \Traversable) { 36 if (!\is_array($value) && !$value instanceof \Traversable) {
37 throw new UnexpectedTypeException($value, 'array or Traversable'); 37 throw new UnexpectedTypeException($value, 'array or Traversable');
38 } 38 }
39 39
40 $context = $this->context; 40 $context = $this->context;
41 41