diff vendor/symfony/dependency-injection/Loader/Configurator/DefaultsConfigurator.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 1fec387a4317
children
line wrap: on
line diff
--- a/vendor/symfony/dependency-injection/Loader/Configurator/DefaultsConfigurator.php	Tue Jul 10 15:07:59 2018 +0100
+++ b/vendor/symfony/dependency-injection/Loader/Configurator/DefaultsConfigurator.php	Thu Feb 28 13:21:36 2019 +0000
@@ -37,9 +37,9 @@
      *
      * @throws InvalidArgumentException when an invalid tag name or attribute is provided
      */
-    final public function tag($name, array $attributes = array())
+    final public function tag($name, array $attributes = [])
     {
-        if (!is_string($name) || '' === $name) {
+        if (!\is_string($name) || '' === $name) {
             throw new InvalidArgumentException('The tag name in "_defaults" must be a non-empty string.');
         }