Completed
Push — master ( 3e4cf7...14abe7 )
by Jeroen
07:38 queued 12s
created
src/Kunstmaan/NodeBundle/Router/SlugRouter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
     /**
63 63
      * The constructor for this service
64 64
      *
65
-     * @param ContainerInterface $container
65
+     * @param \PHPUnit\Framework\MockObject\MockObject $domainConfiguration
66 66
      */
67 67
     public function __construct(
68 68
         /* DomainConfigurationInterface */ $domainConfiguration,
Please login to merge, or discard this patch.
Tests/unit/EventListener/NodeIndexUpdateEventListenerTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -146,6 +146,9 @@  discard block
 block discarded – undo
146 146
         new NodeIndexUpdateEventListener($this->getContainer($this->getSearchConfiguration(false)), $em);
147 147
     }
148 148
 
149
+    /**
150
+     * @param \PHPUnit\Framework\MockObject\MockObject $searchConfigMock
151
+     */
149 152
     private function getContainer($searchConfigMock)
150 153
     {
151 154
         $container = $this->createMock('Symfony\Component\DependencyInjection\ContainerInterface');
@@ -160,6 +163,9 @@  discard block
 block discarded – undo
160 163
         return $container;
161 164
     }
162 165
 
166
+    /**
167
+     * @param boolean $expectCall
168
+     */
163 169
     private function getSearchConfiguration($expectCall)
164 170
     {
165 171
         $searchConfig = $this->createMock(NodePagesConfiguration::class);
Please login to merge, or discard this patch.
src/Kunstmaan/DashboardBundle/Controller/DashboardController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      *
18 18
      * @param \Symfony\Component\HttpFoundation\Request $request
19 19
      *
20
-     * @return array
20
+     * @return \Symfony\Component\HttpFoundation\Response
21 21
      */
22 22
     public function indexAction(Request $request)
23 23
     {
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/Event/DeepCloneAndSaveEvent.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     }
31 31
 
32 32
     /**
33
-     * @param mixed $clonedEntity
33
+     * @param \stdClass $clonedEntity
34 34
      *
35 35
      * @return DeepCloneAndSaveEvent
36 36
      */
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     }
51 51
 
52 52
     /**
53
-     * @param mixed $entity
53
+     * @param \stdClass $entity
54 54
      *
55 55
      * @return DeepCloneAndSaveEvent
56 56
      */
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Event/SlugSecurityEvent.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     }
27 27
 
28 28
     /**
29
-     * @param mixed $node
29
+     * @param \Kunstmaan\NodeBundle\Entity\Node $node
30 30
      */
31 31
     public function setNode($node)
32 32
     {
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     }
45 45
 
46 46
     /**
47
-     * @param mixed $nodeTranslation
47
+     * @param \Kunstmaan\NodeBundle\Entity\NodeTranslation $nodeTranslation
48 48
      */
49 49
     public function setNodeTranslation($nodeTranslation)
50 50
     {
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
     }
81 81
 
82 82
     /**
83
-     * @param mixed $request
83
+     * @param \Symfony\Component\HttpFoundation\Request $request
84 84
      */
85 85
     public function setRequest($request)
86 86
     {
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Tests/unit/Router/SlugRouterTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -95,6 +95,9 @@
 block discarded – undo
95 95
         return $domainConfiguration;
96 96
     }
97 97
 
98
+    /**
99
+     * @param NodeTranslation $nodeTranslation
100
+     */
98 101
     private function getEntityManager($nodeTranslation = null)
99 102
     {
100 103
         $em = $this->createMock('Doctrine\ORM\EntityManagerInterface');
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/Form/MediaTokenTransformer.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 class MediaTokenTransformer implements DataTransformerInterface
12 12
 {
13 13
     /**
14
-     * @param mixed $content
14
+     * @param string $content
15 15
      *
16 16
      * @return string
17 17
      */
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     }
45 45
 
46 46
     /**
47
-     * @param mixed $content
47
+     * @param string $content
48 48
      *
49 49
      * @return string
50 50
      */
Please login to merge, or discard this patch.
src/Kunstmaan/TaggingBundle/Controller/TagAdminListController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      * @Route("/add", name="kunstmaantaggingbundle_admin_tag_add", methods={"GET", "POST"})
42 42
      * @Template("@KunstmaanAdminList/Default/add.html.twig")
43 43
      *
44
-     * @return array
44
+     * @return \Symfony\Component\HttpFoundation\Response
45 45
      */
46 46
     public function addAction(Request $request)
47 47
     {
Please login to merge, or discard this patch.
src/Kunstmaan/FormBundle/Helper/FormMailer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     /**
28 28
      * @param Swift_Mailer                    $mailer
29 29
      * @param EngineInterface                 $twig
30
-     * @param ContainerInterface|RequestStack $requestStack
30
+     * @param \PHPUnit\Framework\MockObject\MockObject $requestStack
31 31
      */
32 32
     public function __construct(Swift_Mailer $mailer, /*Environment*/ $twig, /*RequestStack*/ $requestStack)
33 33
     {
Please login to merge, or discard this patch.