Drop the added assertion that affects the mime-type test
MODIFY
src/AbstractValidator.php
src/AbstractValidator.php
@@ -8,7 +8,6 @@ use Traversable;
use function array_key_exists;
use function array_keys;
use function array_unique;
-use function assert;
use function current;
use function get_class;
use function implode;
@@ -377,8 +376,6 @@ abstract class AbstractValidator implements
$messageKey = current($keys);
}
- assert(is_string($messageKey));
-
if ($value === null) {
/** @psalm-var string|array|object $value */
$value = $this->value;

Drop the added assertion that affects the mime-type test

Signed-off-by: George Steel <george@net-glue.co.uk>