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
1313 /**
1414 * @inheritDoc
1515 */
16- public function execute (JobExecution $ jobExecution ): void
16+ final public function execute (JobExecution $ jobExecution ): void
1717 {
1818 if (!$ jobExecution ->getStatus ()->isExecutable ()) {
1919 $ 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(
6868 /**
6969 * @inheritDoc
7070 */
71- protected function doExecute (JobExecution $ jobExecution ): void
71+ final protected function doExecute (JobExecution $ jobExecution ): void
7272 {
7373 $ rootExecution = $ jobExecution ->getRootExecution ();
7474 $ summary = $ jobExecution ->getSummary ();
Original file line number Diff line number Diff line change 99use Yokai \Batch \Registry \JobRegistry ;
1010use Yokai \Batch \Storage \JobExecutionStorageInterface ;
1111
12- final class JobWithChildJobs extends AbstractJob
12+ class JobWithChildJobs extends AbstractJob
1313{
1414 /**
1515 * @var JobExecutionStorageInterface
@@ -44,7 +44,7 @@ public function __construct(
4444 /**
4545 * @inheritDoc
4646 */
47- protected function doExecute (JobExecution $ jobExecution ): void
47+ final protected function doExecute (JobExecution $ jobExecution ): void
4848 {
4949 $ logger = $ jobExecution ->getLogger ();
5050 foreach ($ this ->childJobs as $ jobName ) {
You can’t perform that action at this time.
0 commit comments