Completed
Pull Request — 3.x (#6114)
by Javier
03:01
created
src/Twig/Extension/SonataAdminExtension.php 1 patch
Doc Comments   +7 added lines, -6 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
     /**
185 185
      * render a list element from the FieldDescription.
186 186
      *
187
-     * @param object $object
187
+     * @param \stdClass $object
188 188
      * @param array  $params
189 189
      *
190 190
      * @return string
@@ -272,7 +272,7 @@  discard block
 block discarded – undo
272 272
     /**
273 273
      * render a view element.
274 274
      *
275
-     * @param object $object
275
+     * @param \stdClass $object
276 276
      *
277 277
      * @return string
278 278
      */
@@ -311,8 +311,8 @@  discard block
 block discarded – undo
311 311
     /**
312 312
      * render a compared view element.
313 313
      *
314
-     * @param mixed $baseObject
315
-     * @param mixed $compareObject
314
+     * @param \stdClass $baseObject
315
+     * @param \stdClass $compareObject
316 316
      *
317 317
      * @return string
318 318
      */
@@ -433,7 +433,8 @@  discard block
 block discarded – undo
433 433
     /**
434 434
      * Get the identifiers as a string that is safe to use in a url.
435 435
      *
436
-     * @param object $model
436
+     * @param \stdClass $model
437
+     * @param AdminInterface $admin
437 438
      *
438 439
      * @return string string representation of the id that is safe to use in a url
439 440
      */
@@ -455,7 +456,7 @@  discard block
 block discarded – undo
455 456
     }
456 457
 
457 458
     /**
458
-     * @return string|bool
459
+     * @return string|false
459 460
      */
460 461
     public function getXEditableType($type)
461 462
     {
Please login to merge, or discard this patch.