Completed
Push — 5.0 ( b6eeb1...ccbe01 )
by Jeroen
24:36 queued 13:22
created
src/Kunstmaan/VotingBundle/Services/RepositoryResolver.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     /**
23 23
      * Constructor
24 24
      *
25
-     * @param object $em entity manager
25
+     * @param EntityManager $em entity manager
26 26
      */
27 27
     public function __construct(EntityManager $em)
28 28
     {
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      *
35 35
      * @param Event $event event
36 36
      *
37
-     * @return Repository
37
+     * @return \Doctrine\Common\Persistence\ObjectRepository|null
38 38
      */
39 39
     public function getRepositoryForEvent($event)
40 40
     {
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      *
69 69
      * @param string $name name
70 70
      *
71
-     * @return Repository
71
+     * @return \Doctrine\Common\Persistence\ObjectRepository
72 72
      */
73 73
     protected function getRepository($name)
74 74
     {
Please login to merge, or discard this patch.
src/Kunstmaan/GeneratorBundle/Command/KunstmaanGenerateCommand.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -397,7 +397,7 @@  discard block
 block discarded – undo
397 397
      * Get an array of fields that need to be added to the entity.
398 398
      *
399 399
      * @param BundleInterface $bundle
400
-     * @param array           $reservedFields
400
+     * @param string[]           $reservedFields
401 401
      *
402 402
      * @return array
403 403
      */
@@ -575,7 +575,7 @@  discard block
 block discarded – undo
575 575
      *
576 576
      * @param bool $niceNames
577 577
      *
578
-     * @return array
578
+     * @return string[]
579 579
      */
580 580
     private function getTypes($niceNames = false)
581 581
     {
@@ -603,7 +603,7 @@  discard block
 block discarded – undo
603 603
     /**
604 604
      * Get all available media types.
605 605
      *
606
-     * @return array
606
+     * @return string[]
607 607
      */
608 608
     private function getMediaTypes()
609 609
     {
@@ -624,7 +624,7 @@  discard block
 block discarded – undo
624 624
      *
625 625
      * @param BundleInterface $bundle
626 626
      * @param                 $objectName
627
-     * @param                 $prefix
627
+     * @param                 string $prefix
628 628
      * @param                 $name
629 629
      * @param                 $type
630 630
      * @param null            $extra
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/Form/UserType.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      *
30 30
      * @param $canEditAllFields
31 31
      *
32
-     * @return bool
32
+     * @return boolean|null
33 33
      */
34 34
     public function setCanEditAllFields($canEditAllFields)
35 35
     {
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/Helper/Security/OAuth/OAuthUserCreator.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -38,6 +38,8 @@
 block discarded – undo
38 38
 
39 39
     /**
40 40
      * {@inheritdoc}
41
+     * @param string $email
42
+     * @param string $googleId
41 43
      */
42 44
     public function getOrCreateUser($email, $googleId)
43 45
     {
Please login to merge, or discard this patch.
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.