We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e850baa + e802b85 commit 6e03294Copy full SHA for 6e03294
src/Type/TypeResult.php
@@ -8,15 +8,21 @@
8
final class TypeResult
9
{
10
11
+ public readonly Type $type;
12
+
13
+ public readonly array $reasons;
14
15
/**
16
* @param T $type
17
* @param list<string> $reasons
18
*/
19
public function __construct(
- public readonly Type $type,
- public readonly array $reasons,
20
+ Type $type,
21
+ array $reasons,
22
)
23
24
+ $this->type = $type;
25
+ $this->reasons = $reasons;
26
}
27
28
0 commit comments