Completed
Push — master ( 46c3a0...a94e83 )
by Grégoire
13s queued 11s
created
tests/Datagrid/ListMapperTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -286,6 +286,10 @@
 block discarded – undo
286 286
         $this->assertTrue($this->listMapper->has('baz'));
287 287
     }
288 288
 
289
+    /**
290
+     * @param string $name
291
+     * @param string $label
292
+     */
289 293
     private function getFieldDescriptionMock(?string $name = null, ?string $label = null): BaseFieldDescription
290 294
     {
291 295
         $fieldDescription = $this->getMockForAbstractClass(BaseFieldDescription::class);
Please login to merge, or discard this patch.
tests/Show/ShowMapperTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -501,6 +501,10 @@
 block discarded – undo
501 501
         $this->admin->setLabelTranslatorStrategy(new NoopLabelTranslatorStrategy());
502 502
     }
503 503
 
504
+    /**
505
+     * @param string $name
506
+     * @param string $label
507
+     */
504 508
     private function getFieldDescriptionMock(?string $name = null, ?string $label = null): BaseFieldDescription
505 509
     {
506 510
         $fieldDescription = $this->getMockForAbstractClass(BaseFieldDescription::class);
Please login to merge, or discard this patch.
src/Annotation/Admin.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -165,6 +165,7 @@
 block discarded – undo
165 165
 
166 166
     /**
167 167
      * Set group and label from class name it not set.
168
+     * @param string $name
168 169
      */
169 170
     private function generateFallback($name): void
170 171
     {
Please login to merge, or discard this patch.
tests/Menu/Integration/BaseMenuTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -43,6 +43,9 @@
 block discarded – undo
43 43
         $this->environment = new Environment($loader, ['strict_variables' => true]);
44 44
     }
45 45
 
46
+    /**
47
+     * @return string
48
+     */
46 49
     abstract protected function getTemplate();
47 50
 
48 51
     protected function getTranslator()
Please login to merge, or discard this patch.
src/Twig/GlobalVariables.php 1 patch
Doc Comments   +8 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,6 +44,7 @@  discard block
 block discarded – undo
44 44
 
45 45
     /**
46 46
      * @param ContainerInterface|Pool $adminPool
47
+     * @param string $mosaicBackground
47 48
      */
48 49
     public function __construct($adminPool, ?string $mosaicBackground = null)
49 50
     {
@@ -80,7 +81,7 @@  discard block
 block discarded – undo
80 81
     /**
81 82
      * @param string $code
82 83
      * @param string $action
83
-     * @param array  $parameters
84
+     * @param string[]  $parameters
84 85
      * @param int    $absolute
85 86
      *
86 87
      * @return string
@@ -95,8 +96,8 @@  discard block
 block discarded – undo
95 96
     /**
96 97
      * @param string $code
97 98
      * @param string $action
98
-     * @param object $object
99
-     * @param array  $parameters
99
+     * @param string $object
100
+     * @param string[]  $parameters
100 101
      * @param int    $absolute
101 102
      *
102 103
      * @return string
@@ -113,6 +114,10 @@  discard block
 block discarded – undo
113 114
         return $this->mosaicBackground;
114 115
     }
115 116
 
117
+    /**
118
+     * @param string $code
119
+     * @param string $action
120
+     */
116 121
     private function getCodeAction($code, $action): array
117 122
     {
118 123
         if ($pipe = strpos($code, '|')) {
Please login to merge, or discard this patch.
src/Security/Handler/SecurityHandlerInterface.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 interface SecurityHandlerInterface
22 22
 {
23 23
     /**
24
-     * @param string|array $attributes
24
+     * @param string $attributes
25 25
      * @param mixed|null   $object
26 26
      *
27 27
      * @return bool
@@ -44,6 +44,7 @@  discard block
 block discarded – undo
44 44
      * Create object security, fe. make the current user owner of the object.
45 45
      *
46 46
      * @param object $object
47
+     * @return void
47 48
      */
48 49
     public function createObjectSecurity(AdminInterface $admin, $object);
49 50
 
@@ -51,6 +52,7 @@  discard block
 block discarded – undo
51 52
      * Remove object security.
52 53
      *
53 54
      * @param object $object
55
+     * @return void
54 56
      */
55 57
     public function deleteObjectSecurity(AdminInterface $admin, $object);
56 58
 }
Please login to merge, or discard this patch.
src/Block/AdminSearchBlockService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
     /**
45 45
      * NEXT_MAJOR: Remove `$templating` argument.
46 46
      *
47
-     * @param Environment|string $twigOrName
47
+     * @param string $twigOrName
48 48
      */
49 49
     public function __construct($twigOrName, ?EngineInterface $templating, Pool $pool, SearchHandler $searchHandler)
50 50
     {
Please login to merge, or discard this patch.