Skip to content

Commit 482c092

Browse files
committed
RunInFiberRequest - fix for when readonly property is downgraded
1 parent 63f4df2 commit 482c092

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/Analyser/Generator/RunInFiberResult.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,20 @@
88
final class RunInFiberResult
99
{
1010

11+
/**
12+
* @readonly
13+
* @var T
14+
*/
15+
public mixed $value;
16+
1117
/**
1218
* @param T $value
1319
*/
1420
public function __construct(
15-
public readonly mixed $value,
21+
mixed $value,
1622
)
1723
{
24+
$this->value = $value;
1825
}
1926

2027
}

0 commit comments

Comments
 (0)