projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website]
/
vendor
/
symfony
/
validator
/
Constraints
/
TypeValidator.php
diff --git
a/vendor/symfony/validator/Constraints/TypeValidator.php
b/vendor/symfony/validator/Constraints/TypeValidator.php
index 5c31e3b38a1b1517ba3607e4e1f2e3d59942ceac..ea7562bfcf9a291573e7007c303b1b1720b2b3ef 100644
(file)
--- a/
vendor/symfony/validator/Constraints/TypeValidator.php
+++ b/
vendor/symfony/validator/Constraints/TypeValidator.php
@@
-34,7
+34,7
@@
class TypeValidator extends ConstraintValidator
}
$type = strtolower($constraint->type);
- $type =
$type == 'boolean'
? 'bool' : $constraint->type;
+ $type =
'boolean' == $type
? 'bool' : $constraint->type;
$isFunction = 'is_'.$type;
$ctypeFunction = 'ctype_'.$type;