Skip to content

Commit 35c2b23

Browse files
vuongxuongminhStyleCIBot
authored andcommitted
Apply fixes from StyleCI
1 parent d86e0b0 commit 35c2b23

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Rules/IpVN.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class IpVN extends AbstractRule
2929

3030
public function __construct(?int $version = null)
3131
{
32-
if(null !== $version && !$this->isSupportedVersion($version)) {
32+
if (null !== $version && !$this->isSupportedVersion($version)) {
3333
throw new ComponentException(sprintf('Only versions %d, %d are supported: %d given', self::IPV4, self::IPV6, $version));
3434
}
3535

@@ -117,5 +117,4 @@ protected function isSupportedVersion(int $version): bool
117117
{
118118
return self::IPV4 === $version || self::IPV6 === $version;
119119
}
120-
121120
}

0 commit comments

Comments
 (0)