diff --git a/src/Type/Base/BaseType.php b/src/Type/Base/BaseType.php index a1465be..d3e49cc 100644 --- a/src/Type/Base/BaseType.php +++ b/src/Type/Base/BaseType.php @@ -34,7 +34,7 @@ abstract class BaseType */ public static function isCorrectType(?string $type): bool { - return in_array($type, (new static())->getAll(), true); + return in_array($type, (new static())->getAll()); } /**