Completed
Push — scalar-types/resource ( 4814fd )
by Kamil
23:02
created
src/Sylius/Component/Payment/Model/PaymentMethodInterface.php 2 patches
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.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Payment\Model;
15 15
 
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     /**
37 37
      * {@inheritdoc}
38 38
      */
39
-    public function setName(?string $name): void;
39
+    public function setName(?string $name) : void;
40 40
 
41 41
     /**
42 42
      * {@inheritdoc}
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     /**
47 47
      * {@inheritdoc}
48 48
      */
49
-    public function setDescription(?string $description): void;
49
+    public function setDescription(?string $description) : void;
50 50
 
51 51
     /**
52 52
      * {@inheritdoc}
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     /**
57 57
      * {@inheritdoc}
58 58
      */
59
-    public function setInstructions(?string $instructions): void;
59
+    public function setInstructions(?string $instructions) : void;
60 60
 
61 61
     /**
62 62
      * @return string|null
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
     /**
67 67
      * @param string|null $environment
68 68
      */
69
-    public function setEnvironment(?string $environment): void;
69
+    public function setEnvironment(?string $environment) : void;
70 70
 
71 71
     /**
72 72
      * @return int|null
@@ -76,5 +76,5 @@  discard block
 block discarded – undo
76 76
     /**
77 77
      * @param int|null $position
78 78
      */
79
-    public function setPosition(?int $position): void;
79
+    public function setPosition(?int $position) : void;
80 80
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Payment/Model/PaymentMethodTranslationInterface.php 2 patches
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.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Payment\Model;
15 15
 
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
     /**
26 26
      * @param string|null $name
27 27
      */
28
-    public function setName(?string $name): void;
28
+    public function setName(?string $name) : void;
29 29
 
30 30
     /**
31 31
      * @return string|null
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     /**
36 36
      * @param string|null $description
37 37
      */
38
-    public function setDescription(?string $description): void;
38
+    public function setDescription(?string $description) : void;
39 39
 
40 40
     /**
41 41
      * @return string|null
@@ -45,5 +45,5 @@  discard block
 block discarded – undo
45 45
     /**
46 46
      * @param string|null $instructions
47 47
      */
48
-    public function setInstructions(?string $instructions): void;
48
+    public function setInstructions(?string $instructions) : void;
49 49
 }
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 2 patches
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.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Resource\Model;
15 15
 
@@ -26,5 +26,5 @@  discard block
 block discarded – undo
26 26
     /**
27 27
      * @param \DateTimeInterface|null $archivedAt
28 28
      */
29
-    public function setArchivedAt(?\DateTimeInterface $archivedAt): void;
29
+    public function setArchivedAt(?\DateTimeInterface $archivedAt) : void;
30 30
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Model/SlugAwareInterface.php 2 patches
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.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Resource\Model;
15 15
 
@@ -26,5 +26,5 @@  discard block
 block discarded – undo
26 26
     /**
27 27
      * @param string|null $slug
28 28
      */
29
-    public function setSlug(?string $slug): void;
29
+    public function setSlug(?string $slug) : void;
30 30
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Model/TimestampableInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@  discard block
 block discarded – undo
25 25
 
26 26
     /**
27 27
      * @param \DateTimeInterface|null $createdAt
28
+     * @return void
28 29
      */
29 30
     public function setCreatedAt(?\DateTimeInterface $createdAt);
30 31
 
@@ -35,6 +36,7 @@  discard block
 block discarded – undo
35 36
 
36 37
     /**
37 38
      * @param \DateTimeInterface|null $updatedAt
39
+     * @return void
38 40
      */
39 41
     public function setUpdatedAt(?\DateTimeInterface $updatedAt);
40 42
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Model/ToggleableInterface.php 2 patches
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -25,10 +25,17 @@
 block discarded – undo
25 25
 
26 26
     /**
27 27
      * @param bool $enabled
28
+     * @return void
28 29
      */
29 30
     public function setEnabled(?bool $enabled): void;
30 31
 
32
+    /**
33
+     * @return void
34
+     */
31 35
     public function enable(): void;
32 36
 
37
+    /**
38
+     * @return void
39
+     */
33 40
     public function disable(): void;
34 41
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Resource\Model;
15 15
 
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     /**
27 27
      * @param bool $enabled
28 28
      */
29
-    public function setEnabled(?bool $enabled): void;
29
+    public function setEnabled(?bool $enabled) : void;
30 30
 
31 31
     public function enable(): void;
32 32
 
Please login to merge, or discard this patch.