]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/criteria/search/class_SearchCriteria.php
Continued:
[core.git] / framework / main / classes / criteria / search / class_SearchCriteria.php
index fd1e80446650f8466fe23ff9bc0b2a2c527c6fcb..43492dc3eed4901088806ee09fde6a2d12728595 100644 (file)
@@ -140,13 +140,13 @@ class SearchCriteria extends BaseCriteria implements LocalSearchCriteria {
                //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('SEARCH-CRITERIA: key=%s,value[]=%s,separator=%s - CALLED!', $key, gettype($value), $separator));
                if (empty($key)) {
                        // Throw IAE
-                       throw new InvalidArgumentException('Parameter "key" cannot be empty');
+                       throw new InvalidArgumentException('Parameter "key" is empty');
                } elseif (is_array($value) || is_bool($value) || is_bool($value) || is_object($value) || is_resource($value)) {
                        // Throw it again
                        throw new InvalidArgumentException(sprintf('value[]=%s is not supported/valid', gettype($value)));
                } elseif (empty($separator)) {
                        // Throw IAE
-                       throw new InvalidArgumentException('Parameter "separator" cannot be empty');
+                       throw new InvalidArgumentException('Parameter "separator" is empty');
                }
 
                // "Explode" value