comparison vendor/symfony/validator/Constraints/AllValidator.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 4c8ae668cc8c
children
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
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