Skip to content

Commit 45f99d8

Browse files
authored
readonly Vector2 as well
1 parent 40d3fdd commit 45f99d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Vector2.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
use function round;
3030
use function sqrt;
3131

32-
class Vector2{
32+
readonly class Vector2{
3333
public function __construct(
3434
public float $x,
3535
public float $y

0 commit comments

Comments
 (0)