Remove unused PackageValidationArchive::$parent property
authorTim Düsterhus <duesterhus@woltlab.com>
Wed, 16 Nov 2022 11:08:48 +0000 (12:08 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Wed, 16 Nov 2022 11:08:48 +0000 (12:08 +0100)
wcfsetup/install/files/lib/system/package/validation/PackageValidationArchive.class.php

index 8be8b4dce292b27af67665727e7c6af83ece488d..4ec4fc5ba62445ca58c7d2924d53f18266b723ff 100644 (file)
@@ -52,12 +52,6 @@ final class PackageValidationArchive implements \RecursiveIterator
      */
     private $package;
 
-    /**
-     * parent package validation archive object
-     * @var PackageValidationArchive
-     */
-    private $parent;
-
     /**
      * children pointer
      */
@@ -69,7 +63,6 @@ final class PackageValidationArchive implements \RecursiveIterator
     public function __construct(string $archive, ?self $parent = null, int $depth = 0)
     {
         $this->archive = new PackageArchive($archive);
-        $this->parent = $parent;
         $this->depth = $depth;
     }