for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Symbiote\QueuedJobs\Services;
use Symbiote\QueuedJobs\DataObjects\QueuedJobDescriptor;
/**
* execute jobs immediately in the current request context
*
* @author [email protected]
* @license BSD License http://silverstripe.org/bsd-license/
*/
class ImmediateQueueHandler
{
* @var array
private static $dependencies = array(
$dependencies
This check marks private properties in classes that are never used. Those properties can be removed.
'queuedJobService' => '%$Symbiote\\QueuedJobs\\Services\\QueuedJobService',
);
* @var QueuedJobService
public $queuedJobService;
* @param QueuedJobDescriptor $job
public function startJobOnQueue(QueuedJobDescriptor $job)
$this->queuedJobService->runJob($job->ID);
}
This check marks private properties in classes that are never used. Those properties can be removed.