@@ -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; |
@@ -1,7 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Kunstmaan\DashboardBundle\Command; |
3 | 3 | |
4 | -use Doctrine\ORM\EntityManager; |
|
5 | 4 | use Kunstmaan\DashboardBundle\Command\Helper\Analytics\ChartDataCommandHelper; |
6 | 5 | use Kunstmaan\DashboardBundle\Command\Helper\Analytics\GoalCommandHelper; |
7 | 6 | use Kunstmaan\DashboardBundle\Command\Helper\Analytics\MetricsCommandHelper; |
@@ -22,8 +22,8 @@ discard block |
||
22 | 22 | * |
23 | 23 | * @param $configHelper |
24 | 24 | * @param $queryHelper |
25 | - * @param $output |
|
26 | - * @param $em |
|
25 | + * @param OutputInterface $output |
|
26 | + * @param \Doctrine\ORM\EntityManagerInterface $em |
|
27 | 27 | */ |
28 | 28 | public function __construct($configHelper, $queryHelper, $output, $em) |
29 | 29 | { |
@@ -75,6 +75,7 @@ discard block |
||
75 | 75 | /** |
76 | 76 | * Executes the query |
77 | 77 | * |
78 | + * @param string $metrics |
|
78 | 79 | * @return array the resultset |
79 | 80 | */ |
80 | 81 | protected function executeQuery(AnalyticsOverview $overview, $metrics) { |
@@ -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 | { |
@@ -18,7 +18,7 @@ |
||
18 | 18 | * @Route("/", name="kunstmaan_dashboard") |
19 | 19 | * |
20 | 20 | * @param \Symfony\Component\HttpFoundation\Request $request |
21 | - * @return array |
|
21 | + * @return \Symfony\Component\HttpFoundation\Response |
|
22 | 22 | */ |
23 | 23 | public function indexAction(Request $request, $segmentId=null) |
24 | 24 | { |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Kunstmaan\DashboardBundle\Manager\WidgetManager; |
6 | 6 | use Kunstmaan\DashboardBundle\Widget\DashboardWidget; |
7 | 7 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
8 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
|
9 | 8 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
10 | 9 | use Symfony\Component\HttpFoundation\Request; |
11 | 10 |
@@ -18,6 +18,9 @@ discard block |
||
18 | 18 | } |
19 | 19 | |
20 | 20 | /** |
21 | + * @param integer $major |
|
22 | + * @param integer $minor |
|
23 | + * @param integer $patch |
|
21 | 24 | * @return bool |
22 | 25 | */ |
23 | 26 | public static function isKernelLessThan($major, $minor = null, $patch = null) |
@@ -26,6 +29,7 @@ discard block |
||
26 | 29 | } |
27 | 30 | |
28 | 31 | /** |
32 | + * @param string $operator |
|
29 | 33 | * @return bool |
30 | 34 | */ |
31 | 35 | private static function kernelVersionCompare($operator, $major, $minor = null, $patch = null) |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Kunstmaan\ArticleBundle\Router; |
4 | 4 | |
5 | 5 | use Kunstmaan\NodeBundle\Router\SlugRouter; |
6 | -use Symfony\Component\Routing\Route; |
|
7 | 6 | use Symfony\Component\Routing\RouteCollection; |
8 | 7 | use Symfony\Component\Translation\TranslatorInterface; |
9 | 8 |
@@ -22,7 +22,6 @@ |
||
22 | 22 | protected $em; |
23 | 23 | |
24 | 24 | /** |
25 | - * @param EngineInterface $templating |
|
26 | 25 | * @param EntityManagerInterface $em |
27 | 26 | */ |
28 | 27 | public function __construct(/* EngineInterface|EntityManagerInterface */ $em, EntityManagerInterface $emOld = null) |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Kunstmaan\NodeBundle\EventListener; |
4 | 4 | |
5 | -use Doctrine\ORM\EntityManager; |
|
6 | 5 | use Doctrine\ORM\EntityManagerInterface; |
7 | 6 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
8 | 7 | use Symfony\Component\HttpFoundation\Response; |