mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-18 04:19:12 +00:00
Fix code quality with rector [skip ci]
This commit is contained in:
@@ -41,7 +41,7 @@ class IsValidZeroOrMoreAmount implements ValidationRule
|
||||
*/
|
||||
public function validate(string $attribute, mixed $value, Closure $fail): void
|
||||
{
|
||||
if (true === $this->nullable && null === $value) {
|
||||
if ($this->nullable && null === $value) {
|
||||
return;
|
||||
}
|
||||
$value = (string) $value;
|
||||
|
||||
Reference in New Issue
Block a user