Skip to content

Commit

Permalink
Update NullableEnum.php
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanpelton authored Feb 5, 2024
1 parent 98824bc commit 00b9e93
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Models/NullableEnum.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 00b9e93

Please sign in to comment.