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
/
RangeValidator.php
diff --git
a/vendor/symfony/validator/Constraints/RangeValidator.php
b/vendor/symfony/validator/Constraints/RangeValidator.php
index ac140dbbf34e2c1b915fc41969903f49aa95d547..e0cb92a93e9ecb147e3f88a897e73a2cb5009017 100644
(file)
--- a/
vendor/symfony/validator/Constraints/RangeValidator.php
+++ b/
vendor/symfony/validator/Constraints/RangeValidator.php
@@
-50,11
+50,11
@@
class RangeValidator extends ConstraintValidator
// the DateTime constructor:
// http://php.net/manual/en/datetime.formats.php
if ($value instanceof \DateTimeInterface) {
// the DateTime constructor:
// http://php.net/manual/en/datetime.formats.php
if ($value instanceof \DateTimeInterface) {
- if (is_string($min)) {
+ if (
\
is_string($min)) {
$min = new \DateTime($min);
}
$min = new \DateTime($min);
}
- if (is_string($max)) {
+ if (
\
is_string($max)) {
$max = new \DateTime($max);
}
}
$max = new \DateTime($max);
}
}