Completed
Push — 5.0 ( 447df8...4ed8c7 )
by Kristof
48:11 queued 37:24
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/ConfigBundle/Controller/ConfigController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
      * @param Request $request
91 91
      * @param string  $internalName
92 92
      *
93
-     * @return array|RedirectResponse
93
+     * @return \Symfony\Component\HttpFoundation\Response
94 94
      */
95 95
     public function indexAction(Request $request, $internalName)
96 96
     {
Please login to merge, or discard this patch.
DashboardBundle/Command/Helper/Analytics/AbstractAnalyticsCommandHelper.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,8 @@  discard block
 block discarded – undo
25 25
      *
26 26
      * @param $configHelper
27 27
      * @param $queryHelper
28
-     * @param $output
29
-     * @param $em
28
+     * @param OutputInterface $output
29
+     * @param EntityManager $em
30 30
      */
31 31
     public function __construct($configHelper, $queryHelper, $output, $em)
32 32
     {
@@ -80,6 +80,7 @@  discard block
 block discarded – undo
80 80
     /**
81 81
      * Executes the query
82 82
      *
83
+     * @param string $metrics
83 84
      * @return array the resultset
84 85
      */
85 86
     protected function executeQuery(AnalyticsOverview $overview, $metrics)
Please login to merge, or discard this patch.
src/Kunstmaan/DashboardBundle/Entity/AnalyticsOverview.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
      *
158 158
      * @param int $config
159 159
      *
160
-     * @return AnalyticsTopReferrals
160
+     * @return AnalyticsOverview
161 161
      */
162 162
     public function setConfig($config)
163 163
     {
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
      *
182 182
      * @param int $segment
183 183
      *
184
-     * @return AnalyticsTopReferrals
184
+     * @return AnalyticsOverview
185 185
      */
186 186
     public function setSegment($segment)
187 187
     {
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
     /**
233 233
      * Set chartData
234 234
      *
235
-     * @param array $chartData
235
+     * @param string $chartData
236 236
      *
237 237
      * @return $this
238 238
      */
@@ -294,7 +294,7 @@  discard block
 block discarded – undo
294 294
     /**
295 295
      * Get returningUsers
296 296
      *
297
-     * @return string
297
+     * @return integer
298 298
      */
299 299
     public function getReturningUsers()
300 300
     {
@@ -510,7 +510,7 @@  discard block
 block discarded – undo
510 510
     /**
511 511
      * Get useYear
512 512
      *
513
-     * @return int
513
+     * @return boolean
514 514
      */
515 515
     public function getUseYear()
516 516
     {
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.
src/Kunstmaan/GeneratorBundle/Tests/Generator/DefaultSiteGeneratorTest.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -22,6 +22,11 @@  discard block
 block discarded – undo
22 22
         $generator->generate($bundle, '', __DIR__ . '/../data', false);
23 23
     }
24 24
 
25
+    /**
26
+     * @param string $path
27
+     *
28
+     * @return \Symfony\Component\HttpKernel\Bundle\BundleInterface
29
+     */
25 30
     protected function getBundle($path)
26 31
     {
27 32
         $bundle = $this->getMock('Symfony\Component\HttpKernel\Bundle\BundleInterface');
@@ -46,6 +51,9 @@  discard block
 block discarded – undo
46 51
         return $bundle;
47 52
     }
48 53
 
54
+    /**
55
+     * @return \Symfony\Bridge\Doctrine\RegistryInterface
56
+     */
49 57
     protected function getRegistry()
50 58
     {
51 59
         $registry = $this->getMock('Symfony\Bridge\Doctrine\RegistryInterface');
Please login to merge, or discard this patch.
src/Kunstmaan/MediaBundle/Controller/MediaController.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -267,6 +267,10 @@  discard block
 block discarded – undo
267 267
         return $response;
268 268
     }
269 269
 
270
+    /**
271
+     * @param string $code
272
+     * @param string $message
273
+     */
270 274
     private function returnJsonError($code, $message)
271 275
     {
272 276
         return new JsonResponse([
@@ -440,7 +444,7 @@  discard block
 block discarded – undo
440 444
      * @Route("move/", name="KunstmaanMediaBundle_media_move")
441 445
      * @Method({"POST"})
442 446
      *
443
-     * @return string
447
+     * @return JsonResponse
444 448
      */
445 449
     public function moveMedia(Request $request)
446 450
     {
Please login to merge, or discard this patch.
Kunstmaan/MultiDomainBundle/Tests/Router/DomainBasedLocaleRouterTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -91,6 +91,12 @@
 block discarded – undo
91 91
         $object->match('/en/some-uri');
92 92
     }
93 93
 
94
+    /**
95
+     * @param Request $request
96
+     * @param NodeTranslation $nodeTranslation
97
+     *
98
+     * @return \Symfony\Component\DependencyInjection\ContainerInterface
99
+     */
94 100
     private function getContainer($request, $nodeTranslation = null)
95 101
     {
96 102
         $container = $this->getMock('Symfony\Component\DependencyInjection\ContainerInterface');
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Controller/NodeAdminController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -738,7 +738,7 @@  discard block
 block discarded – undo
738 738
      *
739 739
      * @param Request $request
740 740
      *
741
-     * @return string
741
+     * @return JsonResponse
742 742
      *
743 743
      * @throws AccessDeniedException
744 744
      */
@@ -1199,7 +1199,7 @@  discard block
 block discarded – undo
1199 1199
 
1200 1200
     /**
1201 1201
      * @param $originalNode
1202
-     * @param $nodeNewPage
1202
+     * @param Node $nodeNewPage
1203 1203
      */
1204 1204
     private function updateAcl($originalNode, $nodeNewPage)
1205 1205
     {
Please login to merge, or discard this patch.