Completed
Push — 3.x ( 3d5935...36902d )
by Jordi Sala
02:59
created
src/Admin/FieldDescriptionCollection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     }
31 31
 
32 32
     /**
33
-     * @return array
33
+     * @return FieldDescriptionInterface[]
34 34
      */
35 35
     public function getElements()
36 36
     {
Please login to merge, or discard this patch.
src/Controller/PolyfillControllerTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -25,6 +25,9 @@
 block discarded – undo
25 25
  */
26 26
 trait PolyfillControllerTrait
27 27
 {
28
+    /**
29
+     * @param string $methodName
30
+     */
28 31
     public function __call($methodName, $arguments)
29 32
     {
30 33
         $this->proxyToController($methodName, $arguments);
Please login to merge, or discard this patch.
src/Datagrid/Pager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -432,7 +432,7 @@  discard block
 block discarded – undo
432 432
      * Returns a parameter.
433 433
      *
434 434
      * @param string $name
435
-     * @param mixed  $default
435
+     * @param null|string  $default
436 436
      *
437 437
      * @return mixed
438 438
      */
@@ -457,7 +457,7 @@  discard block
 block discarded – undo
457 457
      * Sets a parameter.
458 458
      *
459 459
      * @param string $name
460
-     * @param mixed  $value
460
+     * @param string  $value
461 461
      */
462 462
     public function setParameter($name, $value)
463 463
     {
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/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/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.
src/Object/Metadata.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -47,6 +47,8 @@
 block discarded – undo
47 47
 
48 48
     /**
49 49
      * @param array<string, mixed> $options
50
+     * @param string $description
51
+     * @param string $domain
50 52
      */
51 53
     public function __construct(
52 54
         string $title,
Please login to merge, or discard this patch.
src/Admin/BaseFieldDescription.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -441,6 +441,9 @@
 block discarded – undo
441 441
         return $object->{$fieldName};
442 442
     }
443 443
 
444
+    /**
445
+     * @param string $fieldName
446
+     */
444 447
     private function cacheFieldGetter($object, ?string $fieldName, string $method, ?string $getter = null): void
445 448
     {
446 449
         $getterKey = $this->getFieldGetterKey($object, $fieldName);
Please login to merge, or discard this patch.