@@ -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; |
@@ -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 | |
@@ -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 | /** |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Kunstmaan\AdminBundle\Helper\Menu\MenuBuilder; |
| 6 | 6 | use Kunstmaan\AdminBundle\Helper\Menu\MenuItem; |
| 7 | - |
|
| 8 | 7 | use Symfony\Component\HttpFoundation\Request; |
| 9 | 8 | |
| 10 | 9 | /** |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use Kunstmaan\AdminBundle\Helper\Menu\MenuAdaptorInterface; |
| 6 | 6 | use Kunstmaan\AdminBundle\Helper\Menu\MenuBuilder; |
| 7 | 7 | use Kunstmaan\AdminBundle\Helper\Menu\MenuItem; |
| 8 | - |
|
| 9 | 8 | use Symfony\Component\HttpFoundation\Request; |
| 10 | 9 | |
| 11 | 10 | /** |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Kunstmaan\AdminBundle\Helper\Security\Acl; |
| 4 | 4 | |
| 5 | -use Doctrine\ORM\Query; |
|
| 6 | 5 | use Doctrine\ORM\Query\SqlWalker; |
| 7 | 6 | |
| 8 | 7 | /** |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * Returns a list of functions to add to the existing list. |
| 19 | 19 | * |
| 20 | - * @return array An array of functions |
|
| 20 | + * @return \Twig_SimpleFunction[] An array of functions |
|
| 21 | 21 | */ |
| 22 | 22 | public function getFunctions() |
| 23 | 23 | { |
@@ -3,9 +3,7 @@ |
||
| 3 | 3 | namespace Kunstmaan\AdminBundle\Twig; |
| 4 | 4 | |
| 5 | 5 | use Kunstmaan\AdminBundle\Helper\Security\Acl\Permission\PermissionAdmin; |
| 6 | - |
|
| 7 | 6 | use Symfony\Component\Form\FormView; |
| 8 | - |
|
| 9 | 7 | use Twig_Environment; |
| 10 | 8 | |
| 11 | 9 | /** |
@@ -2,10 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Kunstmaan\AdminBundle\Twig; |
| 4 | 4 | |
| 5 | -use Twig_Environment; |
|
| 6 | - |
|
| 7 | 5 | use Kunstmaan\AdminBundle\Helper\AdminRouteHelper; |
| 8 | -use Symfony\Component\Form\FormView; |
|
| 9 | 6 | |
| 10 | 7 | class AdminRouteHelperTwigExtension extends \Twig_Extension |
| 11 | 8 | { |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * Returns a list of functions to add to the existing list. |
| 19 | 19 | * |
| 20 | - * @return array An array of functions |
|
| 20 | + * @return \Twig_SimpleFunction[] An array of functions |
|
| 21 | 21 | */ |
| 22 | 22 | public function getFunctions() |
| 23 | 23 | { |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | /** |
| 13 | 13 | * Get Twig filters defined in this extension. |
| 14 | 14 | * |
| 15 | - * @return array |
|
| 15 | + * @return \Twig_SimpleFilter[] |
|
| 16 | 16 | */ |
| 17 | 17 | public function getFilters() |
| 18 | 18 | { |