Completed
Push — master ( 46c3a0...a94e83 )
by Grégoire
13s queued 11s
created
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.
src/Action/SetObjectFieldValueAction.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -40,6 +40,9 @@
 block discarded – undo
40 40
      */
41 41
     private $validator;
42 42
 
43
+    /**
44
+     * @param ValidatorInterface $validator
45
+     */
43 46
     public function __construct(Environment $twig, Pool $pool, $validator)
44 47
     {
45 48
         // NEXT_MAJOR: Move ValidatorInterface check to method signature
Please login to merge, or discard this patch.
tests/Event/AdminEventExtensionTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     /**
51 51
      * @param $type
52 52
      *
53
-     * @return callable
53
+     * @return \Closure
54 54
      */
55 55
     public function getConfigureEventClosure($type)
56 56
     {
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     /**
71 71
      * @param $type
72 72
      *
73
-     * @return callable
73
+     * @return \Closure
74 74
      */
75 75
     public function getConfigurePersistenceClosure($type)
76 76
     {
Please login to merge, or discard this patch.
tests/Form/Widget/FormSonataFilterChoiceWidgetTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -56,6 +56,9 @@
 block discarded – undo
56 56
         );
57 57
     }
58 58
 
59
+    /**
60
+     * @return string
61
+     */
59 62
     protected function getParentClass()
60 63
     {
61 64
         if (class_exists(RangeType::class)) {
Please login to merge, or discard this patch.
tests/Form/Widget/FormSonataNativeCollectionWidgetTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -68,6 +68,9 @@
 block discarded – undo
68 68
         return $extensions;
69 69
     }
70 70
 
71
+    /**
72
+     * @return string
73
+     */
71 74
     protected function getChoiceClass()
72 75
     {
73 76
         return CollectionType::class;
Please login to merge, or discard this patch.
tests/Menu/Matcher/Voter/ActiveVoterTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     /**
42 42
      * @param mixed $data
43 43
      *
44
-     * @return ItemInterface
44
+     * @return \PHPUnit\Framework\MockObject\MockObject
45 45
      */
46 46
     protected function createItem($data)
47 47
     {
Please login to merge, or discard this patch.
src/Show/ShowMapper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
 
40 40
     /**
41 41
      * @param mixed $name
42
-     * @param mixed $type
42
+     * @param null|string $type
43 43
      *
44 44
      * @throws \RuntimeException
45 45
      *
Please login to merge, or discard this patch.
tests/Datagrid/DatagridMapperTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -292,6 +292,10 @@
 block discarded – undo
292 292
         $this->assertTrue($this->datagridMapper->has('baz'));
293 293
     }
294 294
 
295
+    /**
296
+     * @param string $name
297
+     * @param string $label
298
+     */
295 299
     private function getFieldDescriptionMock(?string $name = null, ?string $label = null): BaseFieldDescription
296 300
     {
297 301
         $fieldDescription = $this->getMockForAbstractClass(BaseFieldDescription::class);
Please login to merge, or discard this patch.
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.