@@ -139,6 +139,10 @@ |
||
| 139 | 139 | |
| 140 | 140 | /** |
| 141 | 141 | * @deprecated This method is deprecated since KunstmaanTranslatorBundle version 5.1 and will be removed in KunstmaanTranslatorBundle version 6.0 |
| 142 | + * @param string $id |
|
| 143 | + * @param string $domain |
|
| 144 | + * @param string|null $locale |
|
| 145 | + * @param string $trans |
|
| 142 | 146 | */ |
| 143 | 147 | public function profileTranslation($id, $parameters, $domain, $locale, $trans) |
| 144 | 148 | { |
@@ -35,6 +35,7 @@ |
||
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | 37 | * @param ContainerInterface|string $multilanguage |
| 38 | + * @param \PHPUnit_Framework_MockObject_MockObject $requestStack |
|
| 38 | 39 | */ |
| 39 | 40 | public function __construct(/*ContainerInterface|RequestStack*/ $requestStack, $multilanguage = null, $defaultLocale = null, $requiredLocales = null, AdminRouteHelper $adminRouteHelper = null, EntityManagerInterface $em = null, array $hosts = null) |
| 40 | 41 | { |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Kunstmaan\AdminBundle\Helper\DomainConfiguration; |
| 6 | 6 | use PHPUnit_Framework_TestCase; |
| 7 | -use Symfony\Component\DependencyInjection\Container; |
|
| 8 | 7 | use Symfony\Component\HttpFoundation\Request; |
| 9 | 8 | |
| 10 | 9 | /** |
@@ -2,15 +2,12 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Kunstmaan\AdminBundle\Command; |
| 4 | 4 | |
| 5 | -use Doctrine\ORM\EntityManager; |
|
| 6 | 5 | use Doctrine\ORM\EntityManagerInterface; |
| 7 | 6 | use Kunstmaan\AdminBundle\Entity\Group; |
| 8 | 7 | use Kunstmaan\AdminBundle\Entity\Role; |
| 9 | 8 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; |
| 10 | 9 | use Symfony\Component\Console\Input\InputArgument; |
| 11 | - |
|
| 12 | 10 | use Symfony\Component\Console\Input\InputInterface; |
| 13 | - |
|
| 14 | 11 | use Symfony\Component\Console\Input\InputOption; |
| 15 | 12 | use Symfony\Component\Console\Output\OutputInterface; |
| 16 | 13 | |
@@ -2,14 +2,11 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Kunstmaan\AdminBundle\Command; |
| 4 | 4 | |
| 5 | -use Doctrine\ORM\EntityManager; |
|
| 6 | 5 | use Doctrine\ORM\EntityManagerInterface; |
| 7 | 6 | use Kunstmaan\AdminBundle\Entity\Role; |
| 8 | 7 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; |
| 9 | 8 | use Symfony\Component\Console\Input\InputArgument; |
| 10 | - |
|
| 11 | 9 | use Symfony\Component\Console\Input\InputInterface; |
| 12 | - |
|
| 13 | 10 | use Symfony\Component\Console\Output\OutputInterface; |
| 14 | 11 | |
| 15 | 12 | /** |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Kunstmaan\AdminBundle\Command; |
| 4 | 4 | |
| 5 | -use Doctrine\ORM\EntityManager; |
|
| 6 | 5 | use Doctrine\ORM\EntityManagerInterface; |
| 7 | 6 | use FOS\UserBundle\Model\GroupManagerInterface; |
| 8 | 7 | use Kunstmaan\AdminBundle\Entity\Group; |
@@ -4,8 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use FOS\UserBundle\Form\Type\ResettingFormType; |
| 6 | 6 | use InvalidArgumentException; |
| 7 | - |
|
| 8 | -use Kunstmaan\AdminBundle\Helper\DomainConfiguration; |
|
| 9 | 7 | use Symfony\Component\Config\FileLocator; |
| 10 | 8 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
| 11 | 9 | use Symfony\Component\DependencyInjection\Definition; |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Kunstmaan\NodeBundle\Tests\Helper; |
| 4 | 4 | |
| 5 | -use Doctrine\Common\Collections\ArrayCollection; |
|
| 6 | 5 | use Doctrine\Common\Persistence\ObjectRepository; |
| 7 | 6 | use Doctrine\ORM\EntityManager; |
| 8 | 7 | use Doctrine\ORM\EntityManagerInterface; |
@@ -477,7 +477,7 @@ discard block |
||
| 477 | 477 | } |
| 478 | 478 | |
| 479 | 479 | /** |
| 480 | - * @return mixed|null |
|
| 480 | + * @return User|null |
|
| 481 | 481 | */ |
| 482 | 482 | protected function getUser() |
| 483 | 483 | { |
@@ -493,7 +493,7 @@ discard block |
||
| 493 | 493 | } |
| 494 | 494 | |
| 495 | 495 | /** |
| 496 | - * @return mixed |
|
| 496 | + * @return User |
|
| 497 | 497 | */ |
| 498 | 498 | protected function getAdminUser() |
| 499 | 499 | { |