Skip to content

Commit d7bf39b

Browse files
committed
formatting
1 parent bfee62d commit d7bf39b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Zend/tests/property_hooks/readonly_rfc_example_validation.phpt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ Readonly property hook validation
55

66
readonly class PositivePoint
77
{
8-
public function __construct(
9-
public int $x { set => $value > 0 ? $value : throw new \Error('Value must be greater 0'); },
10-
public int $y { set => $value > 0 ? $value : throw new \Error('Value must be greater 0'); },
11-
) {}
8+
public function __construct(
9+
public int $x { set => $value > 0 ? $value : throw new \Error('Value must be greater 0'); },
10+
public int $y { set => $value > 0 ? $value : throw new \Error('Value must be greater 0'); },
11+
) {}
1212
}
1313

1414
$one = new PositivePoint(1,1);

0 commit comments

Comments
 (0)