Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / psy / psysh / src / VarDumper / Cloner.php
similarity index 84%
rename from vendor/psy/psysh/src/Psy/VarDumper/Cloner.php
rename to vendor/psy/psysh/src/VarDumper/Cloner.php
index 4685007b31333dcacad93ab59bbe01c2d1e269a7..eb6c65e195f891a18a10c7411098ddde77962167 100644 (file)
@@ -3,7 +3,7 @@
 /*
  * This file is part of Psy Shell.
  *
- * (c) 2012-2017 Justin Hileman
+ * (c) 2012-2018 Justin Hileman
  *
  * For the full copyright and license information, please view the LICENSE
  * file that was distributed with this source code.
@@ -37,6 +37,6 @@ class Cloner extends VarCloner
      */
     protected function castResource(Stub $stub, $isNested)
     {
-        return Caster::EXCLUDE_VERBOSE & $this->filter ? array() : parent::castResource($stub, $isNested);
+        return Caster::EXCLUDE_VERBOSE & $this->filter ? [] : parent::castResource($stub, $isNested);
     }
 }