Skip to content

Commit

Permalink
NEW Validate DBFields
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Nov 6, 2024
1 parent daf9252 commit e057675
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ORM/FieldType/DBPercentage.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ public function __construct(?string $name = null, int $precision = 4)
parent::__construct($name, $precision + 1, $precision);
}

public function getMinValue(): ?float
public function getMinValue(): float
{
return 0.0;
}

public function getMaxValue(): ?float
public function getMaxValue(): float
{
return 1.0;
}
Expand Down

0 comments on commit e057675

Please sign in to comment.