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
/
http-foundation
/
ParameterBag.php
diff --git
a/vendor/symfony/http-foundation/ParameterBag.php
b/vendor/symfony/http-foundation/ParameterBag.php
index 257ef8bceaa43cd7498a19e1c4c7923983b9915f..e3be0a9b8b22aae583e6a6351cca2b313649eef4 100644
(file)
--- a/
vendor/symfony/http-foundation/ParameterBag.php
+++ b/
vendor/symfony/http-foundation/ParameterBag.php
@@
-200,12
+200,12
@@
class ParameterBag implements \IteratorAggregate, \Countable
$value = $this->get($key, $default);
// Always turn $options into an array - this allows filter_var option shortcuts.
$value = $this->get($key, $default);
// Always turn $options into an array - this allows filter_var option shortcuts.
- if (!is_array($options) && $options) {
+ if (!
\
is_array($options) && $options) {
$options = array('flags' => $options);
}
// Add a convenience check for arrays.
$options = array('flags' => $options);
}
// Add a convenience check for arrays.
- if (is_array($value) && !isset($options['flags'])) {
+ if (
\
is_array($value) && !isset($options['flags'])) {
$options['flags'] = FILTER_REQUIRE_ARRAY;
}
$options['flags'] = FILTER_REQUIRE_ARRAY;
}
@@
-229,6
+229,6
@@
class ParameterBag implements \IteratorAggregate, \Countable
*/
public function count()
{
*/
public function count()
{
- return count($this->parameters);
+ return
\
count($this->parameters);
}
}
}
}