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
/
Callback.php
diff --git
a/vendor/symfony/validator/Constraints/Callback.php
b/vendor/symfony/validator/Constraints/Callback.php
index 4a43665b0db8b9d9528ba83ac7d72e64daa1e1ac..16231105e1f22fafd43b45dd4465be262b9a749f 100644
(file)
--- a/
vendor/symfony/validator/Constraints/Callback.php
+++ b/
vendor/symfony/validator/Constraints/Callback.php
@@
-32,11
+32,11
@@
class Callback extends Constraint
public function __construct($options = null)
{
// Invocation through annotations with an array parameter only
public function __construct($options = null)
{
// Invocation through annotations with an array parameter only
- if (
is_array($options) && 1 ===
count($options) && isset($options['value'])) {
+ if (
\is_array($options) && 1 === \
count($options) && isset($options['value'])) {
$options = $options['value'];
}
$options = $options['value'];
}
- if (is_array($options) && !isset($options['callback']) && !isset($options['groups']) && !isset($options['payload'])) {
+ if (
\
is_array($options) && !isset($options['callback']) && !isset($options['groups']) && !isset($options['payload'])) {
$options = array('callback' => $options);
}
$options = array('callback' => $options);
}