Skip to content

Commit

Permalink
Cleanup useless SerializerInterface.
Browse files Browse the repository at this point in the history
  • Loading branch information
hswong3i committed Oct 21, 2014
1 parent 8585799 commit bc728db
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions src/AuthBucket/Push/Controller/PushController.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Security\Core\SecurityContextInterface;
use Symfony\Component\Serializer\SerializerInterface;
use Symfony\Component\Validator\Constraints\NotBlank;
use Symfony\Component\Validator\ValidatorInterface;

Expand All @@ -35,20 +34,17 @@ class PushController
{
protected $securityContext;
protected $validator;
protected $serializer;
protected $modelManagerFactory;
protected $serviceTypeHandlerFactory;

public function __construct(
SecurityContextInterface $securityContext,
ValidatorInterface $validator,
SerializerInterface $serializer,
ModelManagerFactoryInterface $modelManagerFactory,
ServiceTypeHandlerFactoryInterface $serviceTypeHandlerFactory
) {
$this->securityContext = $securityContext;
$this->validator = $validator;
$this->serializer = $serializer;
$this->modelManagerFactory = $modelManagerFactory;
$this->serviceTypeHandlerFactory = $serviceTypeHandlerFactory;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ public function register(Application $app)
return new PushController(
$app['security'],
$app['validator'],
$app['serializer'],
$app['authbucket_push.model_manager.factory'],
$app['authbucket_push.service_handler.factory']
);
Expand Down

0 comments on commit bc728db

Please sign in to comment.