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
/
Constraints
/
TypeValidator.php
diff --git
a/vendor/symfony/validator/Constraints/TypeValidator.php
b/vendor/symfony/validator/Constraints/TypeValidator.php
index ea7562bfcf9a291573e7007c303b1b1720b2b3ef..206836d3617fc6e0500bceb7c10014fd92630165 100644
(file)
--- a/
vendor/symfony/validator/Constraints/TypeValidator.php
+++ b/
vendor/symfony/validator/Constraints/TypeValidator.php
@@
-38,9
+38,9
@@
class TypeValidator extends ConstraintValidator
$isFunction = 'is_'.$type;
$ctypeFunction = 'ctype_'.$type;
$isFunction = 'is_'.$type;
$ctypeFunction = 'ctype_'.$type;
- if (function_exists($isFunction) && $isFunction($value)) {
+ if (
\
function_exists($isFunction) && $isFunction($value)) {
return;
return;
- } elseif (function_exists($ctypeFunction) && $ctypeFunction($value)) {
+ } elseif (
\
function_exists($ctypeFunction) && $ctypeFunction($value)) {
return;
} elseif ($value instanceof $constraint->type) {
return;
return;
} elseif ($value instanceof $constraint->type) {
return;