]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/decoder/package/class_PackageDecoder.php
Need this back for bug tracking
[hub.git] / application / hub / main / decoder / package / class_PackageDecoder.php
index f3f9257e18c99e453118088895a4a756bccf6f08..2db2c2a1be50ad88a0e32c7cb49846c51ea528a1 100644 (file)
@@ -126,6 +126,9 @@ class PackageDecoder extends BaseDecoder implements Decodeable {
         * @return      void
         */
        public function handleDecodedPackage () {
+               // Assert on amount
+               assert($this->ifDeocedPackagesLeft());
+
                // Get the next entry (assoziative array)
                $decodedData = $this->getStackerInstance()->popNamed(self::STACKER_NAME_DECODED_PACKAGE);