@@ -3,11 +3,9 @@ |
||
3 | 3 | namespace Kunstmaan\AdminBundle\Command; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | - |
|
7 | 6 | use Kunstmaan\AdminBundle\Entity\AclChangeset; |
8 | 7 | use Kunstmaan\AdminBundle\Helper\Security\Acl\Permission\PermissionAdmin; |
9 | 8 | use Kunstmaan\AdminBundle\Repository\AclChangesetRepository; |
10 | - |
|
11 | 9 | use Kunstmaan\UtilitiesBundle\Helper\Shell\Shell; |
12 | 10 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; |
13 | 11 | use Symfony\Component\Console\Input\InputInterface; |
@@ -7,9 +7,7 @@ |
||
7 | 7 | use Kunstmaan\AdminBundle\Entity\Role; |
8 | 8 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; |
9 | 9 | use Symfony\Component\Console\Input\InputArgument; |
10 | - |
|
11 | 10 | use Symfony\Component\Console\Input\InputInterface; |
12 | - |
|
13 | 11 | use Symfony\Component\Console\Input\InputOption; |
14 | 12 | use Symfony\Component\Console\Output\OutputInterface; |
15 | 13 |
@@ -6,9 +6,7 @@ |
||
6 | 6 | use Kunstmaan\AdminBundle\Entity\Role; |
7 | 7 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; |
8 | 8 | use Symfony\Component\Console\Input\InputArgument; |
9 | - |
|
10 | 9 | use Symfony\Component\Console\Input\InputInterface; |
11 | - |
|
12 | 10 | use Symfony\Component\Console\Output\OutputInterface; |
13 | 11 | |
14 | 12 | /** |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use FOS\UserBundle\Form\Type\ResettingFormType; |
6 | 6 | use InvalidArgumentException; |
7 | - |
|
8 | 7 | use Symfony\Component\Config\FileLocator; |
9 | 8 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
10 | 9 | use Symfony\Component\DependencyInjection\Definition; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Kunstmaan\AdminBundle\Entity; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Collections\ArrayCollection; |
6 | - |
|
7 | 6 | use Doctrine\Common\Collections\Collection; |
8 | 7 | use Doctrine\ORM\Mapping as ORM; |
9 | 8 | use FOS\UserBundle\Model\GroupInterface; |
@@ -81,7 +81,7 @@ |
||
81 | 81 | |
82 | 82 | /** |
83 | 83 | * @param TokenInterface $token |
84 | - * @param $providerKey |
|
84 | + * @param string $providerKey |
|
85 | 85 | * |
86 | 86 | * @return bool |
87 | 87 | */ |
@@ -5,10 +5,8 @@ |
||
5 | 5 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; |
6 | 6 | use Symfony\Component\HttpKernel\Event\GetResponseEvent; |
7 | 7 | use Symfony\Component\HttpKernel\KernelEvents; |
8 | -use Symfony\Component\Security\Core\Authentication\Token\RememberMeToken; |
|
9 | 8 | use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; |
10 | 9 | use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; |
11 | -use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken; |
|
12 | 10 | use Symfony\Component\Translation\TranslatorInterface; |
13 | 11 | use Kunstmaan\AdminBundle\Helper\AdminRouteHelper; |
14 | 12 |
@@ -28,7 +28,7 @@ |
||
28 | 28 | * Setter to check if we can display all form fields |
29 | 29 | * |
30 | 30 | * @param $canEditAllFields |
31 | - * @return bool |
|
31 | + * @return boolean|null |
|
32 | 32 | */ |
33 | 33 | public function setCanEditAllFields($canEditAllFields) |
34 | 34 | { |
@@ -20,7 +20,7 @@ |
||
20 | 20 | } |
21 | 21 | |
22 | 22 | /** |
23 | - * @return AdminPanelActionInterface[] |
|
23 | + * @return AdminPanelAction[] |
|
24 | 24 | */ |
25 | 25 | public function getAdminPanelActions() |
26 | 26 | { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Kunstmaan\AdminBundle\Helper; |
4 | 4 | |
5 | 5 | use Kunstmaan\NodeBundle\Router\SlugRouter; |
6 | -use Symfony\Component\HttpFoundation\Request; |
|
7 | 6 | use Symfony\Component\HttpFoundation\RequestStack; |
8 | 7 | |
9 | 8 | /** |