diff --git a/src/Models/NullableEnum.php b/src/Models/NullableEnum.php index 00424c1..b22f9cd 100644 --- a/src/Models/NullableEnum.php +++ b/src/Models/NullableEnum.php @@ -14,7 +14,6 @@ public static function castUsing(array $arguments) public function validateValue($value): bool { - return false; // testing auto test suite return is_null($value) || parent::validateValue($value); } }