X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fstacker%2Fclass_BaseStacker.php;h=b029e4e2ca920ed0fe2b06fb01be3157e8b0c8d5;hp=b186e064f977101e81b61bd307b57719f9706ea3;hb=4bbb4bc54c77ee0c0e1c9d65bb082aadee5df854;hpb=fc58c67eb820278515200c89f987931071107424;ds=sidebyside diff --git a/inc/classes/main/stacker/class_BaseStacker.php b/inc/classes/main/stacker/class_BaseStacker.php index b186e064..b029e4e2 100644 --- a/inc/classes/main/stacker/class_BaseStacker.php +++ b/inc/classes/main/stacker/class_BaseStacker.php @@ -114,7 +114,7 @@ class BaseStacker extends BaseFrameworkSystem { throw new NoStackerException(array($this, $stackerName), self::EXCEPTION_NO_STACKER_FOUND); } // END - if - // So, is the stack full? + // So, is the stack empty? $isFull = (($this->getStackCount($stackerName)) == 0); // Return result @@ -128,7 +128,7 @@ class BaseStacker extends BaseFrameworkSystem { * @return $count Size of stack (array count) * @throws NoStackerException If given stack is missing */ - protected final function getStackCount ($stackerName) { + public final function getStackCount ($stackerName) { // Is the stack not yet initialized? if (!$this->isStackInitialized($stackerName)) { // Throw an exception