Completed
Pull Request — 5.6 (#2835)
by Oskar
41:20 queued 26:22
created
Tests/AdminList/AbstractArticlePageAdminListConfiguratorTest.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,6 +19,11 @@  discard block
 block discarded – undo
19 19
     /** @var EntityRepository */
20 20
     private $repo;
21 21
 
22
+    /**
23
+     * @param string $locale
24
+     * @param string $permission
25
+     * @param \PHPUnit\Framework\MockObject\MockObject $repo
26
+     */
22 27
     public function __construct(EntityManager $em, AclHelper $aclHelper, $locale, $permission, $repo)
23 28
     {
24 29
         parent::__construct($em, $aclHelper, $locale, $permission);
@@ -26,7 +31,7 @@  discard block
 block discarded – undo
26 31
     }
27 32
 
28 33
     /**
29
-     * @return bool
34
+     * @return EntityRepository
30 35
      */
31 36
     public function getOverviewPageRepository()
32 37
     {
Please login to merge, or discard this patch.
ArticleBundle/Tests/DependencyInjection/KunstmaanArticleExtensionTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 class KunstmaanArticleExtensionTest extends AbstractExtensionTestCase
13 13
 {
14 14
     /**
15
-     * @return ExtensionInterface[]
15
+     * @return KunstmaanArticleExtension[]
16 16
      */
17 17
     protected function getContainerExtensions()
18 18
     {
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/Entity/GroupPropertiesTrait.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
      *
137 137
      * @param Role $role
138 138
      *
139
-     * @return GroupInterface
139
+     * @return GroupPropertiesTrait
140 140
      *
141 141
      * @throws InvalidArgumentException
142 142
      */
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
      *
159 159
      * @param string $role
160 160
      *
161
-     * @return GroupInterface
161
+     * @return GroupPropertiesTrait
162 162
      */
163 163
     public function removeRole($role)
164 164
     {
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
      *
176 176
      * @param Role[] $roles array of Role objects
177 177
      *
178
-     * @return GroupInterface
178
+     * @return GroupPropertiesTrait
179 179
      */
180 180
     public function setRoles(array $roles)
181 181
     {
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
     /**
191 191
      * Directly set the ArrayCollection of Roles. Type hinted as Collection which is the parent of (Array|Persistent)Collection.
192 192
      *
193
-     * @return GroupInterface
193
+     * @return GroupPropertiesTrait
194 194
      */
195 195
     public function setRolesCollection(Collection $collection)
196 196
     {
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
      *
215 215
      * @param string $name New name of the group
216 216
      *
217
-     * @return GroupInterface
217
+     * @return GroupPropertiesTrait
218 218
      */
219 219
     public function setName($name)
220 220
     {
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/Helper/FormWidgets/FormWidgetInterface.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -14,13 +14,18 @@
 block discarded – undo
14 14
 {
15 15
     /**
16 16
      * @param FormBuilderInterface $builder The form builder
17
+     * @return void
17 18
      */
18 19
     public function buildForm(FormBuilderInterface $builder);
19 20
 
21
+    /**
22
+     * @return void
23
+     */
20 24
     public function bindRequest(Request $request);
21 25
 
22 26
     /**
23 27
      * @param EntityManager $em The entity manager
28
+     * @return void
24 29
      */
25 30
     public function persist(EntityManager $em);
26 31
 
Please login to merge, or discard this patch.
AdminListBundle/AdminList/Configurator/AdminListConfiguratorInterface.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -23,16 +23,19 @@  discard block
 block discarded – undo
23 23
 
24 24
     /**
25 25
      * Configure the fields you can filter on
26
+     * @return void
26 27
      */
27 28
     public function buildFilters();
28 29
 
29 30
     /**
30 31
      * Configure the actions for each item
32
+     * @return void
31 33
      */
32 34
     public function buildItemActions();
33 35
 
34 36
     /**
35 37
      * Configure the actions that can be executed on the whole list
38
+     * @return void
36 39
      */
37 40
     public function buildListActions();
38 41
 
@@ -100,6 +103,9 @@  discard block
 block discarded – undo
100 103
      */
101 104
     public function canEdit($item);
102 105
 
106
+    /**
107
+     * @return boolean
108
+     */
103 109
     public function canView($item);
104 110
 
105 111
     /**
@@ -231,6 +237,7 @@  discard block
 block discarded – undo
231 237
 
232 238
     /**
233 239
      * Bind request
240
+     * @return void
234 241
      */
235 242
     public function bindRequest(Request $request);
236 243
 
Please login to merge, or discard this patch.
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/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.