Completed
Push — 5.1 ( a63100...e86e6d )
by Kristof
65:44 queued 65:35
created
src/Kunstmaan/AdminListBundle/Controller/AdminListController.php 1 patch
Doc Comments   +8 added lines, -5 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     /**
34 34
      * You can override this method to return the correct entity manager when using multiple databases ...
35 35
      *
36
-     * @return \Doctrine\Common\Persistence\ObjectManager|object
36
+     * @return \Doctrine\Common\Persistence\ObjectManager
37 37
      */
38 38
     protected function getEntityManager()
39 39
     {
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      * Shows the list of entities
45 45
      *
46 46
      * @param AbstractAdminListConfigurator $configurator
47
-     * @param null|Request                  $request
47
+     * @param Request                  $request
48 48
      *
49 49
      * @return Response
50 50
      */
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      *
97 97
      * @param AbstractAdminListConfigurator $configurator The adminlist configurator
98 98
      * @param string                        $type         The type to add
99
-     * @param null|Request                  $request
99
+     * @param Request                  $request
100 100
      *
101 101
      * @throws AccessDeniedHttpException
102 102
      *
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
      *
192 192
      * @param AbstractAdminListConfigurator $configurator The adminlist configurator
193 193
      * @param string                        $entityId     The id of the entity that will be edited
194
-     * @param null|Request                  $request
194
+     * @param Request                  $request
195 195
      *
196 196
      * @throws NotFoundHttpException
197 197
      * @throws AccessDeniedHttpException
@@ -347,7 +347,7 @@  discard block
 block discarded – undo
347 347
      *
348 348
      * @param AbstractAdminListConfigurator $configurator The adminlist configurator
349 349
      * @param int                           $entityId     The id to delete
350
-     * @param null|Request                  $request
350
+     * @param Request                  $request
351 351
      *
352 352
      * @throws NotFoundHttpException
353 353
      * @throws AccessDeniedHttpException
@@ -474,6 +474,9 @@  discard block
 block discarded – undo
474 474
         );
475 475
     }
476 476
 
477
+    /**
478
+     * @param \Doctrine\Common\Persistence\ObjectRepository $repo
479
+     */
477 480
     private function getMaxSortableField($repo, $sort)
478 481
     {
479 482
         $maxWeight = $repo->createQueryBuilder('i')
Please login to merge, or discard this patch.
src/Kunstmaan/GeneratorBundle/Helper/InputAssistant.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
      *
149 149
      * @param Kernel $kernel
150 150
      *
151
-     * @return array
151
+     * @return \Symfony\Component\Console\Question\iterable|null
152 152
      */
153 153
     private function getNamespaceAutoComplete(Kernel $kernel)
154 154
     {
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
      *
166 166
      * @param $namespace
167 167
      *
168
-     * @return mixed
168
+     * @return string
169 169
      */
170 170
     private function fixNamespace($namespace)
171 171
     {
Please login to merge, or discard this patch.
Tests/unit/Model/TestLockableEntityInterfaceImplementation.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -11,6 +11,9 @@
 block discarded – undo
11 11
 {
12 12
     protected $id;
13 13
 
14
+    /**
15
+     * @param string $id
16
+     */
14 17
     public function __construct($id)
15 18
     {
16 19
         $this->setId($id);
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Tests/unit/Router/SlugRouterTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -65,6 +65,10 @@
 block discarded – undo
65 65
         $object->match('/en/some-uri');
66 66
     }
67 67
 
68
+    /**
69
+     * @param Request|null $request
70
+     * @param NodeTranslation $nodeTranslation
71
+     */
68 72
     private function getContainer($request, $multiLanguage = false, $nodeTranslation = null)
69 73
     {
70 74
         $container = $this->createMock('Symfony\Component\DependencyInjection\ContainerInterface');
Please login to merge, or discard this patch.
src/Kunstmaan/RedirectBundle/Tests/unit/Router/RedirectRouterTest.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -56,6 +56,7 @@
 block discarded – undo
56 56
      * @param string $origin
57 57
      * @param string $target
58 58
      * @param bool   $permanent
59
+     * @param null|string $domain
59 60
      *
60 61
      * @return Redirect
61 62
      */
Please login to merge, or discard this patch.
MultiDomainBundle/Tests/unit/Router/DomainBasedLocaleRouterTest.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -178,8 +178,8 @@  discard block
 block discarded – undo
178 178
     }
179 179
 
180 180
     /**
181
-     * @param $request
182
-     * @param null $nodeTranslation
181
+     * @param Request $request
182
+     * @param NodeTranslation $nodeTranslation
183 183
      *
184 184
      * @return Container
185 185
      */
@@ -243,6 +243,9 @@  discard block
 block discarded – undo
243 243
         return $request;
244 244
     }
245 245
 
246
+    /**
247
+     * @param NodeTranslation $nodeTranslation
248
+     */
246 249
     private function getEntityManager($nodeTranslation = null)
247 250
     {
248 251
         $em = $this->createMock('Doctrine\ORM\EntityManagerInterface');
Please login to merge, or discard this patch.
src/Kunstmaan/TaggingBundle/Entity/TagManager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     }
75 75
 
76 76
     /**
77
-     * @param $id
77
+     * @param integer|null $id
78 78
      *
79 79
      * @return mixed|null
80 80
      *
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     /**
113 113
      * @param Taggable $item
114 114
      * @param $class
115
-     * @param $locale
115
+     * @param string $locale
116 116
      * @param int $nbOfItems
117 117
      *
118 118
      * @return array|null
Please login to merge, or discard this patch.
Tests/unit/EventListener/Security/MaxNumberByIpEventListenerTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 class MaxNumberByIpEventListenerTest extends \PHPUnit_Framework_TestCase
14 14
 {
15 15
     /**
16
-     * @param $returnNull
16
+     * @param boolean $returnNull
17 17
      * @param int $voteNumber
18 18
      *
19 19
      * @return \Kunstmaan\VotingBundle\Services\RepositoryResolver
Please login to merge, or discard this patch.
src/Kunstmaan/ArticleBundle/Entity/AbstractAuthor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
     }
52 52
 
53 53
     /**
54
-     * @param $link
54
+     * @param string $link
55 55
      */
56 56
     public function setLink($link)
57 57
     {
Please login to merge, or discard this patch.