]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/stacker/fifo/class_FiFoStacker.php
Continued:
[core.git] / framework / main / classes / stacker / fifo / class_FiFoStacker.php
index cf590a76e9b959a0ed614045ca42bb5e2514ba58..c19b614a43b5a22a5101d2d8907d885c3b465129 100644 (file)
@@ -72,9 +72,6 @@ class FiFoStacker extends BaseStacker implements Stackable {
                if (empty($stackerName)) {
                        // No empty stack name
                        throw new InvalidArgumentException('Parameter "stackerName" is empty', FrameworkInterface::EXCEPTION_INVALID_ARGUMENT);
-               } elseif (is_resource($value) || is_array($value) || is_object($value)) {
-                       // Unsupported variable type
-                       throw new InvalidArgumentException(sprintf('value[]=%s is not supported', gettype($value)), FrameworkInterface::EXCEPTION_INVALID_ARGUMENT);
                }
 
                // Call the protected method