File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,12 @@ public function setContext(array $context): void
87
87
$ this ->context = $ context ;
88
88
}
89
89
90
- public function getNextExecution (): null
90
+ /**
91
+ * PHP 8.1 Fatal error: Null can not be used as a standalone type.
92
+ *
93
+ * @phpstan-ignore missingType.return
94
+ */
95
+ public function getNextExecution ()
91
96
{
92
97
return null ;
93
98
}
Original file line number Diff line number Diff line change 17
17
use CleverAge \UiProcessBundle \Monolog \Handler \ProcessHandler ;
18
18
use Symfony \Component \Messenger \Attribute \AsMessageHandler ;
19
19
20
+ /**
21
+ * PHP 8.2 : Replace by readonly class.
22
+ */
20
23
#[AsMessageHandler]
21
- readonly class ProcessExecuteHandler
24
+ class ProcessExecuteHandler
22
25
{
23
- public function __construct (private ProcessManager $ manager , private readonly ProcessHandler $ processHandler )
26
+ public function __construct (private readonly ProcessManager $ manager , private readonly ProcessHandler $ processHandler )
24
27
{
25
28
}
26
29
You can’t perform that action at this time.
0 commit comments