Remove abstract from auth bundle Generator and Voter service #194
This commit is contained in:
parent
8737fbfe26
commit
238be17f6c
2 changed files with 2 additions and 4 deletions
|
|
@ -9,8 +9,7 @@ use Symfony\Component\Config\Resource\FileResource;
|
||||||
|
|
||||||
use Symfony\Component\Routing\RouterInterface;
|
use Symfony\Component\Routing\RouterInterface;
|
||||||
|
|
||||||
// NOTE: This class is inherited by the API Bundle and the main site
|
class Generator
|
||||||
abstract class Generator
|
|
||||||
{
|
{
|
||||||
protected $router;
|
protected $router;
|
||||||
protected $cache_dir;
|
protected $cache_dir;
|
||||||
|
|
|
||||||
|
|
@ -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\Authorization\Voter\Voter as BaseVoter;
|
||||||
use Symfony\Component\Security\Core\Security;
|
use Symfony\Component\Security\Core\Security;
|
||||||
|
|
||||||
// NOTE: This class is inherited by the API Bundle and the main site
|
class Voter extends BaseVoter
|
||||||
abstract class Voter extends BaseVoter
|
|
||||||
{
|
{
|
||||||
protected $acl_gen;
|
protected $acl_gen;
|
||||||
protected $user_class;
|
protected $user_class;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue