mirror of
https://github.com/Respect/Validation.git
synced 2024-06-22 07:16:32 +02:00
Fix check whether start and end address have been set in Ip rule (#1375)
by @fabacino
This commit is contained in:
parent
4c21a7ffc9
commit
4847fe45ff
|
@ -105,7 +105,7 @@ final class Ip extends AbstractRule
|
|||
|
||||
private function createRange(): ?string
|
||||
{
|
||||
if ($this->endAddress && $this->endAddress) {
|
||||
if ($this->startAddress && $this->endAddress) {
|
||||
return $this->startAddress . '-' . $this->endAddress;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue