| Total Complexity | 6 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | class BatchJobDeclaration extends JobDeclaration |
||
| 21 | { |
||
| 22 | public function __construct(string $jobHandlerType) |
||
| 23 | { |
||
| 24 | parent::__construct($jobHandlerType); |
||
| 25 | } |
||
| 26 | |||
| 27 | protected function resolveExecution(/*BatchJobContext*/$context): ?ExecutionEntity |
||
| 28 | { |
||
| 29 | return null; |
||
| 30 | } |
||
| 31 | |||
| 32 | protected function newJobInstance($context = null): JobEntity |
||
| 35 | } |
||
| 36 | |||
| 37 | protected function resolveJobHandlerConfiguration(/*BatchJobContext*/$context): JobHandlerConfigurationInterface |
||
| 38 | { |
||
| 39 | return new BatchJobConfiguration($context->getConfiguration()->getId()); |
||
| 40 | } |
||
| 41 | |||
| 42 | protected function resolveJobDefinitionId(/*BatchJobContext*/$context): string |
||
| 45 | } |
||
| 46 | |||
| 47 | public function getJobPriorityProvider(): ParameterValueProviderInterface |
||
| 54 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.