Completed
Push — pull-request/8500 ( e49efc...54b484 )
by Kamil
36:05 queued 17:36
created
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/PaymentMethodInterface.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -30,31 +30,37 @@  discard block
 block discarded – undo
30 30
 {
31 31
     /**
32 32
      * {@inheritdoc}
33
+     * @return string|null
33 34
      */
34 35
     public function getName(): ?string;
35 36
 
36 37
     /**
37 38
      * {@inheritdoc}
39
+     * @return void
38 40
      */
39 41
     public function setName(?string $name): void;
40 42
 
41 43
     /**
42 44
      * {@inheritdoc}
45
+     * @return string|null
43 46
      */
44 47
     public function getDescription(): ?string;
45 48
 
46 49
     /**
47 50
      * {@inheritdoc}
51
+     * @return void
48 52
      */
49 53
     public function setDescription(?string $description): void;
50 54
 
51 55
     /**
52 56
      * {@inheritdoc}
57
+     * @return string|null
53 58
      */
54 59
     public function getInstructions(): ?string;
55 60
 
56 61
     /**
57 62
      * {@inheritdoc}
63
+     * @return void
58 64
      */
59 65
     public function setInstructions(?string $instructions): void;
60 66
 
@@ -65,6 +71,7 @@  discard block
 block discarded – undo
65 71
 
66 72
     /**
67 73
      * @param string|null $environment
74
+     * @return void
68 75
      */
69 76
     public function setEnvironment(?string $environment): void;
70 77
 
@@ -75,6 +82,7 @@  discard block
 block discarded – undo
75 82
 
76 83
     /**
77 84
      * @param int|null $position
85
+     * @return void
78 86
      */
79 87
     public function setPosition(?int $position): void;
80 88
 }
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.
src/Sylius/Component/Resource/Metadata/RegistryInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -45,12 +45,14 @@
 block discarded – undo
45 45
 
46 46
     /**
47 47
      * @param MetadataInterface $metadata
48
+     * @return void
48 49
      */
49 50
     public function add(MetadataInterface $metadata): void;
50 51
 
51 52
     /**
52 53
      * @param string $alias
53 54
      * @param array $configuration
55
+     * @return void
54 56
      */
55 57
     public function addFromAliasAndConfiguration(string $alias, array $configuration): void;
56 58
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Model/ArchivableInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@
 block discarded – undo
25 25
 
26 26
     /**
27 27
      * @param \DateTimeInterface|null $archivedAt
28
+     * @return void
28 29
      */
29 30
     public function setArchivedAt(?\DateTimeInterface $archivedAt): void;
30 31
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Model/SlugAwareInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@
 block discarded – undo
25 25
 
26 26
     /**
27 27
      * @param string|null $slug
28
+     * @return void
28 29
      */
29 30
     public function setSlug(?string $slug): void;
30 31
 }
Please login to merge, or discard this patch.