Completed
Push — master ( 46c3a0...a94e83 )
by Grégoire
13s queued 11s
created
src/Admin/Pool.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -295,7 +295,7 @@
 block discarded – undo
295 295
     }
296 296
 
297 297
     /**
298
-     * @return array
298
+     * @return string[]
299 299
      */
300 300
     public function getAdminServiceIds()
301 301
     {
Please login to merge, or discard this patch.
src/Twig/Extension/SonataAdminExtension.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
 use Symfony\Component\Translation\TranslatorInterface;
23 23
 use Twig\Environment;
24 24
 use Twig\Extension\AbstractExtension;
25
-use Twig\Template;
26 25
 use Twig\TemplateWrapper;
27 26
 use Twig\TwigFilter;
28 27
 use Twig\TwigFunction;
Please login to merge, or discard this patch.
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
     /**
165 165
      * render a list element from the FieldDescription.
166 166
      *
167
-     * @param object $object
167
+     * @param \stdClass $object
168 168
      * @param array  $params
169 169
      *
170 170
      * @return string
@@ -245,7 +245,7 @@  discard block
 block discarded – undo
245 245
     /**
246 246
      * render a view element.
247 247
      *
248
-     * @param object $object
248
+     * @param \stdClass $object
249 249
      *
250 250
      * @return string
251 251
      */
@@ -382,7 +382,7 @@  discard block
 block discarded – undo
382 382
     /**
383 383
      * Get the identifiers as a string that is safe to use in a url.
384 384
      *
385
-     * @param object $model
385
+     * @param \stdClass $model
386 386
      *
387 387
      * @return string string representation of the id that is safe to use in a url
388 388
      */
@@ -404,7 +404,7 @@  discard block
 block discarded – undo
404 404
     }
405 405
 
406 406
     /**
407
-     * @return string|bool
407
+     * @return string|false
408 408
      */
409 409
     public function getXEditableType($type)
410 410
     {
Please login to merge, or discard this patch.
src/Maker/AdminMaker.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -68,6 +68,9 @@
 block discarded – undo
68 68
      */
69 69
     private $modelManager;
70 70
 
71
+    /**
72
+     * @param string $projectDirectory
73
+     */
71 74
     public function __construct($projectDirectory, array $modelManagers = [])
72 75
     {
73 76
         $this->projectDirectory = $projectDirectory;
Please login to merge, or discard this patch.
src/Object/MetadataInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -20,10 +20,19 @@
 block discarded – undo
20 20
 {
21 21
     public function getTitle(): string;
22 22
 
23
+    /**
24
+     * @return string|null
25
+     */
23 26
     public function getDescription(): ?string;
24 27
 
28
+    /**
29
+     * @return string|null
30
+     */
25 31
     public function getImage(): ?string;
26 32
 
33
+    /**
34
+     * @return string|null
35
+     */
27 36
     public function getDomain(): ?string;
28 37
 
29 38
     /**
Please login to merge, or discard this patch.
tests/Fixtures/Admin/PostAdmin.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@
 block discarded – undo
19 19
 {
20 20
     protected $metadataClass = null;
21 21
 
22
+    /**
23
+     * @param string $associationMapping
24
+     */
22 25
     public function setParentAssociationMapping($associationMapping): void
23 26
     {
24 27
         $this->parentAssociationMapping = $associationMapping;
Please login to merge, or discard this patch.
tests/Action/RetrieveAutocompleteItemsActionTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -298,6 +298,9 @@
 block discarded – undo
298 298
         $formConfig->getAttribute('target_admin_access_action')->willReturn('list');
299 299
     }
300 300
 
301
+    /**
302
+     * @param string $field
303
+     */
301 304
     private function configureFormConfigComplexPropertyArray($field): void
302 305
     {
303 306
         $form = $this->prophesize(Form::class);
Please login to merge, or discard this patch.
tests/Admin/Extension/LockExtensionTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -212,6 +212,10 @@
 block discarded – undo
212 212
         return new FormMapper($contractor->reveal(), $formBuilder, $this->admin->reveal());
213 213
     }
214 214
 
215
+    /**
216
+     * @param string $uniqid
217
+     * @param Request $request
218
+     */
215 219
     private function configureAdmin(
216 220
         ?string $uniqid = null,
217 221
         ?Request $request = null,
Please login to merge, or discard this patch.
tests/Admin/PoolTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -341,6 +341,9 @@
 block discarded – undo
341 341
         return $containerMock;
342 342
     }
343 343
 
344
+    /**
345
+     * @param string $serviceId
346
+     */
344 347
     private function getItemArray($serviceId): array
345 348
     {
346 349
         return [
Please login to merge, or discard this patch.
tests/Controller/CRUDControllerTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -3986,6 +3986,9 @@
 block discarded – undo
3986 3986
             ]);
3987 3987
     }
3988 3988
 
3989
+    /**
3990
+     * @param string $domain
3991
+     */
3989 3992
     private function expectTranslate(
3990 3993
         string $id,
3991 3994
         array $parameters = [],
Please login to merge, or discard this patch.