Skip to content

Commit 174f1a1

Browse files
committed
cs
1 parent f99d144 commit 174f1a1

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/PositiveInt.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ final class PositiveInt implements ToStringInterface, ComparableInterface
1818
/**
1919
* @var positive-int
2020
*/
21-
private int $value; // phpcs:ignore
21+
private int $value;
2222

2323
public function __construct(
24-
int $value
24+
int $val
2525
) {
26-
if ($value < 1 || $value > \PHP_INT_MAX) {
27-
throw new InvalidTypeException('Invalid positive integer: ' . $value);
26+
if ($val < 1 || $val > \PHP_INT_MAX) {
27+
throw new InvalidTypeException('Invalid positive integer: ' . $val);
2828
}
2929

30-
$this->value = $value;
30+
$this->value = $val;
3131
}
3232

3333
/**

0 commit comments

Comments
 (0)