File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 4141 </errorLevel >
4242 </UndefinedClass >
4343
44+ <UndefinedFunction >
45+ <errorLevel type =" suppress" >
46+ <directory name =" src/Worker/Internal" />
47+ </errorLevel >
48+ </UndefinedFunction >
49+
4450 <UnsupportedPropertyReferenceUsage >
4551 <errorLevel type =" suppress" >
4652 <directory name =" src" />
Original file line number Diff line number Diff line change @@ -14,7 +14,9 @@ final class TaskSubmission extends JobPacket
1414 public function __construct (Task $ task )
1515 {
1616 $ this ->task = $ task ;
17- parent ::__construct (self ::$ nextId ++);
17+ $ id = self ::$ nextId ;
18+ \PHP_VERSION_ID >= 80300 ? self ::$ nextId = str_increment (self ::$ nextId ) : ++self ::$ nextId ;
19+ parent ::__construct ($ id );
1820 }
1921
2022 public function getTask (): Task
You can’t perform that action at this time.
0 commit comments