Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / psy / psysh / src / CodeCleaner / AbstractClassPass.php
similarity index 96%
rename from vendor/psy/psysh/src/Psy/CodeCleaner/AbstractClassPass.php
rename to vendor/psy/psysh/src/CodeCleaner/AbstractClassPass.php
index fad6d8f5638465d92c9fd4278fbd0522387fea0f..66eaf42c144ac995e6e45ae77ec6e973e0a9fcd4 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.
@@ -33,7 +33,7 @@ class AbstractClassPass extends CodeCleanerPass
     {
         if ($node instanceof Class_) {
             $this->class = $node;
-            $this->abstractMethods = array();
+            $this->abstractMethods = [];
         } elseif ($node instanceof ClassMethod) {
             if ($node->isAbstract()) {
                 $name = sprintf('%s::%s', $this->class->name, $node->name);