File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ abstract class AbstractJob implements JobInterface
13
13
/**
14
14
* @inheritDoc
15
15
*/
16
- public function execute (JobExecution $ jobExecution ): void
16
+ final public function execute (JobExecution $ jobExecution ): void
17
17
{
18
18
if (!$ jobExecution ->getStatus ()->isExecutable ()) {
19
19
$ jobExecution ->getLogger ()->error ('Job is not executable ' , ['job ' => $ jobExecution ->getJobName ()]);
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ public function __construct(
68
68
/**
69
69
* @inheritDoc
70
70
*/
71
- protected function doExecute (JobExecution $ jobExecution ): void
71
+ final protected function doExecute (JobExecution $ jobExecution ): void
72
72
{
73
73
$ rootExecution = $ jobExecution ->getRootExecution ();
74
74
$ summary = $ jobExecution ->getSummary ();
Original file line number Diff line number Diff line change 9
9
use Yokai \Batch \Registry \JobRegistry ;
10
10
use Yokai \Batch \Storage \JobExecutionStorageInterface ;
11
11
12
- final class JobWithChildJobs extends AbstractJob
12
+ class JobWithChildJobs extends AbstractJob
13
13
{
14
14
/**
15
15
* @var JobExecutionStorageInterface
@@ -44,7 +44,7 @@ public function __construct(
44
44
/**
45
45
* @inheritDoc
46
46
*/
47
- protected function doExecute (JobExecution $ jobExecution ): void
47
+ final protected function doExecute (JobExecution $ jobExecution ): void
48
48
{
49
49
$ logger = $ jobExecution ->getLogger ();
50
50
foreach ($ this ->childJobs as $ jobName ) {
You can’t perform that action at this time.
0 commit comments