diff --git a/Controller/JobController.php b/Controller/JobController.php index 0719ccf1..73167fe5 100644 --- a/Controller/JobController.php +++ b/Controller/JobController.php @@ -7,7 +7,7 @@ use JMS\JobQueueBundle\Entity\Job; use JMS\JobQueueBundle\Entity\Repository\JobManager; use JMS\JobQueueBundle\View\JobFilter; -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; +use Symfony\Component\Routing\Annotation\Route; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\RedirectResponse; use Symfony\Component\HttpFoundation\Request; diff --git a/DependencyInjection/JMSJobQueueExtension.php b/DependencyInjection/JMSJobQueueExtension.php index b8be3fab..b00857e7 100644 --- a/DependencyInjection/JMSJobQueueExtension.php +++ b/DependencyInjection/JMSJobQueueExtension.php @@ -66,8 +66,7 @@ public function prepend(ContainerBuilder $container) 'dbal' => array( 'types' => array( 'jms_job_safe_object' => array( - 'class' => SafeObjectType::class, - 'commented' => true, + 'class' => SafeObjectType::class ) ) )