Completed
Push — 5.6 ( ea2096...a2843e )
by Jeroen
48:57 queued 43:06
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\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\Persistence\ObjectRepository
72 72
      */
73 73
     protected function getRepository($name)
74 74
     {
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Helper/PageCloningHelper.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -84,6 +84,10 @@  discard block
 block discarded – undo
84 84
         }
85 85
     }
86 86
 
87
+    /**
88
+     * @param string $locale
89
+     * @param string $title
90
+     */
87 91
     public function clonePage(Node $originalNode, $locale, $title = null)
88 92
     {
89 93
         $originalNodeTranslations = $originalNode->getNodeTranslation($locale, true);
@@ -123,6 +127,10 @@  discard block
 block discarded – undo
123 127
         return $nodeNewPage;
124 128
     }
125 129
 
130
+    /**
131
+     * @param Node $originalNode
132
+     * @param Node $nodeNewPage
133
+     */
126 134
     private function updateAcl($originalNode, $nodeNewPage): void
127 135
     {
128 136
         $originalIdentity = $this->identityRetrievalStrategy->getObjectIdentity($originalNode);
Please login to merge, or discard this patch.
src/Kunstmaan/NodeSearchBundle/Search/NodeSearcher.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
     }
156 156
 
157 157
     /**
158
-     * @return array
158
+     * @return string[]
159 159
      */
160 160
     protected function getCurrentUserRoles()
161 161
     {
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
     {
@@ -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 Request|null                  $request
47
+     * @param Request                  $request
48 48
      *
49 49
      * @return Response
50 50
      */
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      *
94 94
      * @param AbstractAdminListConfigurator $configurator The adminlist configurator
95 95
      * @param string                        $type         The type to add
96
-     * @param Request|null                  $request
96
+     * @param Request                  $request
97 97
      *
98 98
      * @throws AccessDeniedHttpException
99 99
      *
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
      *
189 189
      * @param AbstractAdminListConfigurator $configurator The adminlist configurator
190 190
      * @param string                        $entityId     The id of the entity that will be edited
191
-     * @param Request|null                  $request
191
+     * @param Request                  $request
192 192
      *
193 193
      * @throws NotFoundHttpException
194 194
      * @throws AccessDeniedHttpException
@@ -342,7 +342,7 @@  discard block
 block discarded – undo
342 342
      *
343 343
      * @param AbstractAdminListConfigurator $configurator The adminlist configurator
344 344
      * @param int                           $entityId     The id to delete
345
-     * @param Request|null                  $request
345
+     * @param Request                  $request
346 346
      *
347 347
      * @throws NotFoundHttpException
348 348
      * @throws AccessDeniedHttpException
@@ -469,6 +469,9 @@  discard block
 block discarded – undo
469 469
         );
470 470
     }
471 471
 
472
+    /**
473
+     * @param \Doctrine\Persistence\ObjectRepository $repo
474
+     */
472 475
     private function getMaxSortableField($repo, $sort)
473 476
     {
474 477
         $maxWeight = $repo->createQueryBuilder('i')
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Helper/NodeMenuItem.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@
 block discarded – undo
156 156
     }
157 157
 
158 158
     /**
159
-     * @param NodeMenuItem|false|null $parent
159
+     * @param NodeMenuItem $parent
160 160
      */
161 161
     public function setParent($parent = false)
162 162
     {
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/Helper/Menu/MenuAdaptorInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -17,6 +17,7 @@
 block discarded – undo
17 17
      * @param MenuItem[]    $children The current children
18 18
      * @param MenuItem|null $parent   The parent Menu item
19 19
      * @param Request|null  $request  The Request
20
+     * @return void
20 21
      */
21 22
     public function adaptChildren(MenuBuilder $menu, array &$children, MenuItem $parent = null, Request $request = null);
22 23
 }
Please login to merge, or discard this patch.