From 238be17f6cc5914fff547ffcfec7c98f13e1af8c Mon Sep 17 00:00:00 2001 From: Kendrick Chan Date: Wed, 5 Jun 2019 17:05:31 +0800 Subject: [PATCH] Remove abstract from auth bundle Generator and Voter service #194 --- catalyst/auth-bundle/Service/Generator.php | 3 +-- catalyst/auth-bundle/Service/Voter.php | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/catalyst/auth-bundle/Service/Generator.php b/catalyst/auth-bundle/Service/Generator.php index 2d567d46..b12f71ac 100644 --- a/catalyst/auth-bundle/Service/Generator.php +++ b/catalyst/auth-bundle/Service/Generator.php @@ -9,8 +9,7 @@ use Symfony\Component\Config\Resource\FileResource; use Symfony\Component\Routing\RouterInterface; -// NOTE: This class is inherited by the API Bundle and the main site -abstract class Generator +class Generator { protected $router; protected $cache_dir; diff --git a/catalyst/auth-bundle/Service/Voter.php b/catalyst/auth-bundle/Service/Voter.php index 9966aa7b..3d23c4ec 100644 --- a/catalyst/auth-bundle/Service/Voter.php +++ b/catalyst/auth-bundle/Service/Voter.php @@ -6,8 +6,7 @@ use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authorization\Voter\Voter as BaseVoter; use Symfony\Component\Security\Core\Security; -// NOTE: This class is inherited by the API Bundle and the main site -abstract class Voter extends BaseVoter +class Voter extends BaseVoter { protected $acl_gen; protected $user_class;