Completed
Push — 5.6 ( 679697...f4d50c )
by Jeroen
16:35 queued 10:49
created
AdminListBundle/AdminList/Configurator/ChangeableLimitInterface.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,6 +11,7 @@  discard block
 block discarded – undo
11 11
 {
12 12
     /**
13 13
      * Bind current request.
14
+     * @return void
14 15
      */
15 16
     public function bindRequest(Request $request);
16 17
 
@@ -20,7 +21,7 @@  discard block
 block discarded – undo
20 21
     public function getLimit();
21 22
 
22 23
     /**
23
-     * @return array
24
+     * @return integer[]
24 25
      */
25 26
     public function getLimitOptions();
26 27
 }
Please login to merge, or discard this patch.
src/Kunstmaan/AdminListBundle/AdminList/Field.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -102,6 +102,9 @@  discard block
 block discarded – undo
102 102
         return true;
103 103
     }
104 104
 
105
+    /**
106
+     * @param \stdClass $item
107
+     */
105 108
     public function getAliasObj($item)
106 109
     {
107 110
         $relation = $this->alias->getRelation();
@@ -114,6 +117,9 @@  discard block
 block discarded – undo
114 117
         return $item;
115 118
     }
116 119
 
120
+    /**
121
+     * @param string $column
122
+     */
117 123
     public function getColumnName($column)
118 124
     {
119 125
         $abbr = $this->alias->getAbbr() . '.';
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\Persistence\ObjectManager
37 37
      */
38 38
     protected function getEntityManager()
39 39
     {
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     /**
44 44
      * Shows the list of entities
45 45
      *
46
-     * @param Request|null $request
46
+     * @param Request $request
47 47
      *
48 48
      * @return Response
49 49
      */
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      *
92 92
      * @param AbstractAdminListConfigurator $configurator The adminlist configurator
93 93
      * @param string                        $type         The type to add
94
-     * @param Request|null                  $request
94
+     * @param Request                  $request
95 95
      *
96 96
      * @throws AccessDeniedHttpException
97 97
      *
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
      *
187 187
      * @param AbstractAdminListConfigurator $configurator The adminlist configurator
188 188
      * @param string                        $entityId     The id of the entity that will be edited
189
-     * @param Request|null                  $request
189
+     * @param Request                  $request
190 190
      *
191 191
      * @throws NotFoundHttpException
192 192
      * @throws AccessDeniedHttpException
@@ -340,7 +340,7 @@  discard block
 block discarded – undo
340 340
      *
341 341
      * @param AbstractAdminListConfigurator $configurator The adminlist configurator
342 342
      * @param int                           $entityId     The id to delete
343
-     * @param Request|null                  $request
343
+     * @param Request                  $request
344 344
      *
345 345
      * @throws NotFoundHttpException
346 346
      * @throws AccessDeniedHttpException
@@ -467,6 +467,9 @@  discard block
 block discarded – undo
467 467
         );
468 468
     }
469 469
 
470
+    /**
471
+     * @param \Doctrine\Persistence\ObjectRepository $repo
472
+     */
470 473
     private function getMaxSortableField($repo, $sort)
471 474
     {
472 475
         $maxWeight = $repo->createQueryBuilder('i')
Please login to merge, or discard this patch.
src/Kunstmaan/AdminListBundle/Service/EntityVersionLockService.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,6 +26,10 @@  discard block
 block discarded – undo
26 26
      */
27 27
     private $lockEnabled;
28 28
 
29
+    /**
30
+     * @param integer $threshold
31
+     * @param boolean $lockEnabled
32
+     */
29 33
     public function __construct(ObjectManager $em, $threshold, $lockEnabled)
30 34
     {
31 35
         $this->setObjectManager($em);
@@ -133,7 +137,7 @@  discard block
 block discarded – undo
133 137
      *
134 138
      * @param User $userToExclude
135 139
      *
136
-     * @return EntityVersionLock[]
140
+     * @return \Kunstmaan\AdminListBundle\Repository\EntityVersionLock[]
137 141
      */
138 142
     protected function getEntityVersionLocksByLockableEntity(LockableEntity $entity, User $userToExclude = null)
139 143
     {
Please login to merge, or discard this patch.
src/Kunstmaan/ConfigBundle/Controller/ConfigController.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,6 @@
 block discarded – undo
53 53
 
54 54
     /**
55 55
      * @param EngineInterface|Environment $twig
56
-     * @param ContainerInterface          $container
57 56
      * @param FormFactoryInterface        $formFactory
58 57
      */
59 58
     public function __construct(
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
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
      *
16 16
      * @Route("/", name="kunstmaan_dashboard")
17 17
      *
18
-     * @return array
18
+     * @return \Symfony\Component\HttpFoundation\Response
19 19
      */
20 20
     public function indexAction(Request $request)
21 21
     {
Please login to merge, or discard this patch.
src/Kunstmaan/FormBundle/AdminList/FormPageAdminListConfigurator.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     /**
77 77
      * Return the url to edit the given $item
78 78
      *
79
-     * @param mixed $item
79
+     * @param \PHPUnit\Framework\MockObject\MockObject $item
80 80
      *
81 81
      * @return array
82 82
      */
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
     /**
117 117
      * Configure the types of items you can add
118 118
      *
119
-     * @return array
119
+     * @return string
120 120
      */
121 121
     public function getAddUrlFor(array $params = [])
122 122
     {
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
     /**
127 127
      * Configure if it's possible to delete the given $item
128 128
      *
129
-     * @param mixed $item
129
+     * @param \PHPUnit\Framework\MockObject\MockObject $item
130 130
      *
131 131
      * @return bool
132 132
      */
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
     /**
139 139
      * Get the delete url for the given $item
140 140
      *
141
-     * @param mixed $item
141
+     * @param \PHPUnit\Framework\MockObject\MockObject $item
142 142
      *
143 143
      * @return array
144 144
      */
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
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 
27 27
     /**
28 28
      * @param EngineInterface                 $twig
29
-     * @param ContainerInterface|RequestStack $requestStack
29
+     * @param \PHPUnit\Framework\MockObject\MockObject $requestStack
30 30
      */
31 31
     public function __construct(Swift_Mailer $mailer, /*Environment*/ $twig, /*RequestStack*/ $requestStack)
32 32
     {
Please login to merge, or discard this patch.
src/Kunstmaan/GeneratorBundle/Command/KunstmaanGenerateCommand.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -613,7 +613,7 @@  discard block
 block discarded – undo
613 613
      *
614 614
      * @param bool $niceNames
615 615
      *
616
-     * @return array
616
+     * @return string[]
617 617
      */
618 618
     private function getTypes($niceNames = false)
619 619
     {
@@ -641,7 +641,7 @@  discard block
 block discarded – undo
641 641
     /**
642 642
      * Get all available media types.
643 643
      *
644
-     * @return array
644
+     * @return string[]
645 645
      */
646 646
     private function getMediaTypes()
647 647
     {
@@ -660,7 +660,7 @@  discard block
 block discarded – undo
660 660
      * Get all the entity fields for a specific type.
661 661
      *
662 662
      * @param      $objectName
663
-     * @param      $prefix
663
+     * @param      string $prefix
664 664
      * @param      $name
665 665
      * @param      $type
666 666
      * @param null $extra
Please login to merge, or discard this patch.