Skip to content

Commit e802b85

Browse files
committed
Fix
1 parent dc5d8f4 commit e802b85

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Diff for: src/Type/TypeResult.php

+8-2
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,21 @@
88
final class TypeResult
99
{
1010

11+
public readonly Type $type;
12+
13+
public readonly array $reasons;
14+
1115
/**
1216
* @param T $type
1317
* @param list<string> $reasons
1418
*/
1519
public function __construct(
16-
public readonly Type $type,
17-
public readonly array $reasons,
20+
Type $type,
21+
array $reasons,
1822
)
1923
{
24+
$this->type = $type;
25+
$this->reasons = $reasons;
2026
}
2127

2228
}

0 commit comments

Comments
 (0)