File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed
Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1818 " never" ,
1919 " object" ,
2020 " random_bytes" ,
21+ " str_increment" ,
2122 " readKey" ,
2223 " flattenArgument" ,
2324 " formatFlattenedBacktrace" ,
Original file line number Diff line number Diff line change 4141 </errorLevel >
4242 </UndefinedClass >
4343
44+ <UndefinedFunction >
45+ <errorLevel type =" suppress" >
46+ <referencedFunction name =" str_increment" />
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