Completed
Push — 5.5 ( 9f8389...024385 )
by Jeroen
20s queued 12s
created
src/Kunstmaan/AdminListBundle/AdminList/AdminList.php 1 patch
Doc Comments   +15 added lines, -9 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
     }
115 115
 
116 116
     /**
117
-     * @param mixed $item
117
+     * @param \stdClass $item
118 118
      *
119 119
      * @return bool
120 120
      */
@@ -131,6 +131,9 @@  discard block
 block discarded – undo
131 131
         return $this->configurator->canAdd();
132 132
     }
133 133
 
134
+    /**
135
+     * @param \stdClass $item
136
+     */
134 137
     public function canView($item)
135 138
     {
136 139
         return $this->configurator->canView($item);
@@ -145,7 +148,7 @@  discard block
 block discarded – undo
145 148
     }
146 149
 
147 150
     /**
148
-     * @param mixed $item
151
+     * @param \stdClass $item
149 152
      *
150 153
      * @return array
151 154
      */
@@ -154,13 +157,16 @@  discard block
 block discarded – undo
154 157
         return $this->configurator->getEditUrlFor($item);
155 158
     }
156 159
 
160
+    /**
161
+     * @param \stdClass $item
162
+     */
157 163
     public function getViewUrlFor($item)
158 164
     {
159 165
         return $this->configurator->getViewUrlFor($item);
160 166
     }
161 167
 
162 168
     /**
163
-     * @param mixed $item
169
+     * @param \stdClass $item
164 170
      *
165 171
      * @return array
166 172
      */
@@ -180,7 +186,7 @@  discard block
 block discarded – undo
180 186
     }
181 187
 
182 188
     /**
183
-     * @param mixed $item
189
+     * @param \stdClass $item
184 190
      *
185 191
      * @return bool
186 192
      */
@@ -206,7 +212,7 @@  discard block
 block discarded – undo
206 212
     }
207 213
 
208 214
     /**
209
-     * @param object|array $object    The object
215
+     * @param \stdClass $object    The object
210 216
      * @param string       $attribute The attribute
211 217
      *
212 218
      * @return mixed
@@ -217,7 +223,7 @@  discard block
 block discarded – undo
217 223
     }
218 224
 
219 225
     /**
220
-     * @param object|array $object    The object
226
+     * @param \stdClass $object    The object
221 227
      * @param string       $attribute The attribute
222 228
      *
223 229
      * @return string
@@ -244,7 +250,7 @@  discard block
 block discarded – undo
244 250
     }
245 251
 
246 252
     /**
247
-     * @return array
253
+     * @return ItemAction\ItemActionInterface[]
248 254
      */
249 255
     public function getItemActions()
250 256
     {
@@ -268,7 +274,7 @@  discard block
 block discarded – undo
268 274
     }
269 275
 
270 276
     /**
271
-     * @return array
277
+     * @return ListAction\ListActionInterface[]
272 278
      */
273 279
     public function getListActions()
274 280
     {
@@ -276,7 +282,7 @@  discard block
 block discarded – undo
276 282
     }
277 283
 
278 284
     /**
279
-     * @return array
285
+     * @return BulkAction\BulkActionInterface[]
280 286
      */
281 287
     public function getBulkActions()
282 288
     {
Please login to merge, or discard this patch.
Kunstmaan/AdminBundle/Tests/unit/Helper/VersionCheck/VersionCheckTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     /**
37 37
      * @param array|null $methods
38 38
      *
39
-     * @return \PHPUnit\Framework\MockObject\MockObject|VersionChecker
39
+     * @return string
40 40
      */
41 41
     public function setUpVersionCheckerMock(?array $methods)
42 42
     {
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
      */
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      *
119 119
      * @param array $params
120 120
      *
121
-     * @return array
121
+     * @return string
122 122
      */
123 123
     public function getAddUrlFor(array $params = array())
124 124
     {
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
     /**
129 129
      * Configure if it's possible to delete the given $item
130 130
      *
131
-     * @param mixed $item
131
+     * @param \PHPUnit\Framework\MockObject\MockObject $item
132 132
      *
133 133
      * @return bool
134 134
      */
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
     /**
141 141
      * Get the delete url for the given $item
142 142
      *
143
-     * @param mixed $item
143
+     * @param \PHPUnit\Framework\MockObject\MockObject $item
144 144
      *
145 145
      * @return array
146 146
      */
Please login to merge, or discard this patch.
src/Kunstmaan/FormBundle/AdminList/FormSubmissionAdminListConfigurator.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
     /**
82 82
      * Return the url to edit the given $item
83 83
      *
84
-     * @param mixed $item
84
+     * @param \PHPUnit\Framework\MockObject\MockObject $item
85 85
      *
86 86
      * @return array
87 87
      */
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
     /**
132 132
      * Configure if it's possible to delete the given $item
133 133
      *
134
-     * @param mixed $item
134
+     * @param \PHPUnit\Framework\MockObject\MockObject $item
135 135
      *
136 136
      * @return bool
137 137
      */
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
     /**
154 154
      * Get the delete url for the given $item
155 155
      *
156
-     * @param mixed $item
156
+     * @param \PHPUnit\Framework\MockObject\MockObject $item
157 157
      *
158 158
      * @return array
159 159
      */
Please login to merge, or discard this patch.
FormBundle/Tests/unit/AdminList/FormPageAdminListConfiguratorTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-     * @return \Doctrine\ORM\EntityManager
42
+     * @return \PHPUnit\Framework\MockObject\MockObject
43 43
      */
44 44
     protected function getMockedEntityManager()
45 45
     {
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Tests/unit/Helper/Menu/ActionsMenuBuilderTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     /**
51 51
      * @throws \Exception
52 52
      *
53
-     * @return \Doctrine\ORM\EntityManager
53
+     * @return \PHPUnit\Framework\MockObject\MockObject
54 54
      */
55 55
     protected function getMockedEntityManager()
56 56
     {
Please login to merge, or discard this patch.
TranslatorBundle/Service/Command/Exporter/ExportCommandHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@
 block discarded – undo
165 165
     }
166 166
 
167 167
     /**
168
-     * @param $translationRepository
168
+     * @param \PHPUnit\Framework\MockObject\MockObject $translationRepository
169 169
      */
170 170
     public function setTranslationRepository($translationRepository)
171 171
     {
Please login to merge, or discard this patch.
FormBundle/Tests/unit/AdminList/FormSubmissionAdminListConfiguratorTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-     * @return \Doctrine\ORM\EntityManager
42
+     * @return \PHPUnit\Framework\MockObject\MockObject
43 43
      */
44 44
     protected function getMockedEntityManager()
45 45
     {
Please login to merge, or discard this patch.
Tests/unit/AdminList/FormSubmissionExportListConfiguratorTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-     * @return \Doctrine\ORM\EntityManager
42
+     * @return \PHPUnit\Framework\MockObject\MockObject
43 43
      */
44 44
     protected function getMockedEntityManager()
45 45
     {
Please login to merge, or discard this patch.