Completed
Push — 1.1-coding-standard-fixes ( 71011e )
by Kamil
28:55
created
Sylius/Bundle/ResourceBundle/DependencyInjection/Driver/DriverInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -24,6 +24,7 @@
 block discarded – undo
24 24
     /**
25 25
      * @param ContainerBuilder $container
26 26
      * @param MetadataInterface $metadata
27
+     * @return void
27 28
      */
28 29
     public function load(ContainerBuilder $container, MetadataInterface $metadata): void;
29 30
 
Please login to merge, or discard this patch.
Sylius/Bundle/ResourceBundle/Form/Builder/DefaultFormBuilderInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@
 block discarded – undo
25 25
      * @param MetadataInterface $metadata
26 26
      * @param FormBuilderInterface $formBuilder
27 27
      * @param array $options
28
+     * @return void
28 29
      */
29 30
     public function build(MetadataInterface $metadata, FormBuilderInterface $formBuilder, array $options): void;
30 31
 }
Please login to merge, or discard this patch.
Sylius/Bundle/ResourceBundle/Form/Registry/FormTypeRegistryInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -22,6 +22,7 @@
 block discarded – undo
22 22
      * @param string $identifier
23 23
      * @param string $typeIdentifier
24 24
      * @param string $formType
25
+     * @return void
25 26
      */
26 27
     public function add(string $identifier, string $typeIdentifier, string $formType): void;
27 28
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Form/Type/FixedCollectionType.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
     }
72 72
 
73 73
     /**
74
-     * @return callable
74
+     * @return \Closure
75 75
      */
76 76
     private function optionalCallableNormalizer(): callable
77 77
     {
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Validator/DisabledValidator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     }
43 43
 
44 44
     /**
45
-     * @param mixed $value
45
+     * @param ToggleableInterface $value
46 46
      */
47 47
     private function ensureValueImplementsToggleableInterface($value): void
48 48
     {
Please login to merge, or discard this patch.
src/Sylius/Component/Payment/Model/PaymentInterface.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -37,6 +37,7 @@  discard block
 block discarded – undo
37 37
 
38 38
     /**
39 39
      * @param PaymentMethodInterface|null $method
40
+     * @return void
40 41
      */
41 42
     public function setMethod(?PaymentMethodInterface $method): void;
42 43
 
@@ -47,6 +48,7 @@  discard block
 block discarded – undo
47 48
 
48 49
     /**
49 50
      * @param string $state
51
+     * @return void
50 52
      */
51 53
     public function setState(string $state): void;
52 54
 
@@ -57,6 +59,7 @@  discard block
 block discarded – undo
57 59
 
58 60
     /**
59 61
      * @param string
62
+     * @return void
60 63
      */
61 64
     public function setCurrencyCode(string $currencyCode): void;
62 65
 
@@ -67,6 +70,7 @@  discard block
 block discarded – undo
67 70
 
68 71
     /**
69 72
      * @param int $amount
73
+     * @return void
70 74
      */
71 75
     public function setAmount(int $amount): void;
72 76
 
@@ -77,6 +81,7 @@  discard block
 block discarded – undo
77 81
 
78 82
     /**
79 83
      * @param array $details
84
+     * @return void
80 85
      */
81 86
     public function setDetails(array $details): void;
82 87
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Payment/Model/PaymentMethodTranslationInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -24,6 +24,7 @@  discard block
 block discarded – undo
24 24
 
25 25
     /**
26 26
      * @param string|null $name
27
+     * @return void
27 28
      */
28 29
     public function setName(?string $name): void;
29 30
 
@@ -34,6 +35,7 @@  discard block
 block discarded – undo
34 35
 
35 36
     /**
36 37
      * @param string|null $description
38
+     * @return void
37 39
      */
38 40
     public function setDescription(?string $description): void;
39 41
 
@@ -44,6 +46,7 @@  discard block
 block discarded – undo
44 46
 
45 47
     /**
46 48
      * @param string|null $instructions
49
+     * @return void
47 50
      */
48 51
     public function setInstructions(?string $instructions): void;
49 52
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Payment/Model/PaymentsSubjectInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -29,11 +29,13 @@
 block discarded – undo
29 29
 
30 30
     /**
31 31
      * @param PaymentInterface $payment
32
+     * @return void
32 33
      */
33 34
     public function addPayment(PaymentInterface $payment): void;
34 35
 
35 36
     /**
36 37
      * @param PaymentInterface $payment
38
+     * @return void
37 39
      */
38 40
     public function removePayment(PaymentInterface $payment): void;
39 41
 
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Metadata/MetadataInterface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
     public function getDriver(): string;
50 50
 
51 51
     /**
52
-     * @return ?string
52
+     * @return string
53 53
      */
54 54
     public function getTemplatesNamespace(): ?string;
55 55
 
Please login to merge, or discard this patch.