Completed
Pull Request — 2.x (#521)
by Maximilian
01:42
created
src/Builder/ListBuilder.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -66,6 +66,7 @@
 block discarded – undo
66 66
 
67 67
     /**
68 68
      * {@inheritdoc}
69
+     * @param string|null $type
69 70
      */
70 71
     public function addField(FieldDescriptionCollection $list, $type, FieldDescriptionInterface $fieldDescription, AdminInterface $admin)
71 72
     {
Please login to merge, or discard this patch.
src/Datagrid/ProxyQuery.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -228,6 +228,7 @@  discard block
 block discarded – undo
228 228
      * Sets the first result (offset).
229 229
      *
230 230
      * {@inheritdoc}
231
+     * @param integer $firstResult
231 232
      */
232 233
     public function setFirstResult($firstResult)
233 234
     {
@@ -250,6 +251,7 @@  discard block
 block discarded – undo
250 251
      * Set maximum number of results to retrieve.
251 252
      *
252 253
      * {@inheritdoc}
254
+     * @param integer $maxResults
253 255
      */
254 256
     public function setMaxResults($maxResults)
255 257
     {
Please login to merge, or discard this patch.
src/Filter/CallbackFilter.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -21,6 +21,7 @@
 block discarded – undo
21 21
      *
22 22
      * @throws \InvalidArgumentException if the filter is not configured with a
23 23
      *                                   callable in the 'callback' option field
24
+     * @param string $field
24 25
      */
25 26
     public function filter(ProxyQueryInterface $proxyQuery, $alias, $field, $data)
26 27
     {
Please login to merge, or discard this patch.
src/Guesser/FilterTypeGuesser.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -42,6 +42,8 @@
 block discarded – undo
42 42
 
43 43
     /**
44 44
      * {@inheritdoc}
45
+     * @param string $class
46
+     * @param string $property
45 47
      */
46 48
     public function guessType($class, $property, ModelManagerInterface $modelManager)
47 49
     {
Please login to merge, or discard this patch.
src/Model/ModelManager.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -268,6 +268,7 @@
 block discarded – undo
268 268
      * {@inheritdoc}
269 269
      *
270 270
      * @throws \InvalidArgumentException if $document is not an object or null
271
+     * @return string
271 272
      */
272 273
     public function getNormalizedIdentifier($document)
273 274
     {
Please login to merge, or discard this patch.
tests/Fixtures/App/Document/Content.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
     }
189 189
 
190 190
     /**
191
-     * @param mixed $child
191
+     * @param Content $child
192 192
      */
193 193
     public function setChild($child)
194 194
     {
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
     }
213 213
 
214 214
     /**
215
-     * @return mixed
215
+     * @return Content
216 216
      */
217 217
     public function getSingleRoute()
218 218
     {
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
     }
221 221
 
222 222
     /**
223
-     * @param mixed $singleRoute
223
+     * @param Content $singleRoute
224 224
      */
225 225
     public function setSingleRoute($singleRoute)
226 226
     {
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
     }
245 245
 
246 246
     /**
247
-     * @param $route
247
+     * @param Content $route
248 248
      */
249 249
     public function addRoute($route)
250 250
     {
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
     }
261 261
 
262 262
     /**
263
-     * @param $child
263
+     * @param Content $child
264 264
      */
265 265
     public function addChild($child)
266 266
     {
Please login to merge, or discard this patch.