Completed
Push — psalm-deprecated-classes ( a6dba6...4a7eeb )
by Kamil
04:46
created
src/Sylius/Component/Addressing/Model/ZoneInterface.php 1 patch
Doc Comments   +24 added lines patch added patch discarded remove patch
@@ -28,16 +28,34 @@  discard block
 block discarded – undo
28 28
      */
29 29
     public static function getTypes(): array;
30 30
 
31
+    /**
32
+     * @return string|null
33
+     */
31 34
     public function getName(): ?string;
32 35
 
36
+    /**
37
+     * @return void
38
+     */
33 39
     public function setName(?string $name): void;
34 40
 
41
+    /**
42
+     * @return string|null
43
+     */
35 44
     public function getType(): ?string;
36 45
 
46
+    /**
47
+     * @return void
48
+     */
37 49
     public function setType(?string $type): void;
38 50
 
51
+    /**
52
+     * @return string|null
53
+     */
39 54
     public function getScope(): ?string;
40 55
 
56
+    /**
57
+     * @return void
58
+     */
41 59
     public function setScope(?string $scope): void;
42 60
 
43 61
     /**
@@ -47,8 +65,14 @@  discard block
 block discarded – undo
47 65
 
48 66
     public function hasMembers(): bool;
49 67
 
68
+    /**
69
+     * @return void
70
+     */
50 71
     public function addMember(ZoneMemberInterface $member): void;
51 72
 
73
+    /**
74
+     * @return void
75
+     */
52 76
     public function removeMember(ZoneMemberInterface $member): void;
53 77
 
54 78
     public function hasMember(ZoneMemberInterface $member): bool;
Please login to merge, or discard this patch.
src/Sylius/Component/Addressing/Model/ZoneMemberInterface.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -18,7 +18,15 @@
 block discarded – undo
18 18
 
19 19
 interface ZoneMemberInterface extends ResourceInterface, CodeAwareInterface
20 20
 {
21
+    /**
22
+     * @return ZoneInterface|null
23
+     */
21 24
     public function getBelongsTo(): ?ZoneInterface;
22 25
 
26
+    /**
27
+     * @param Zone|null $belongsTo
28
+     *
29
+     * @return void
30
+     */
23 31
     public function setBelongsTo(?ZoneInterface $belongsTo): void;
24 32
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Attribute/AttributeType/AttributeTypeInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -22,6 +22,9 @@
 block discarded – undo
22 22
 
23 23
     public function getType(): string;
24 24
 
25
+    /**
26
+     * @return void
27
+     */
25 28
     public function validate(
26 29
         AttributeValueInterface $attributeValue,
27 30
         ExecutionContextInterface $context,
Please login to merge, or discard this patch.
src/Sylius/Component/Attribute/Model/Attribute.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -109,6 +109,7 @@  discard block
 block discarded – undo
109 109
 
110 110
     /**
111 111
      * {@inheritdoc}
112
+     * @param string $type
112 113
      */
113 114
     public function setType(?string $type): void
114 115
     {
@@ -141,6 +142,7 @@  discard block
 block discarded – undo
141 142
 
142 143
     /**
143 144
      * {@inheritdoc}
145
+     * @param string $storageType
144 146
      */
145 147
     public function setStorageType(?string $storageType): void
146 148
     {
Please login to merge, or discard this patch.
src/Sylius/Component/Attribute/Model/AttributeInterface.php 1 patch
Doc Comments   +28 added lines patch added patch discarded remove patch
@@ -27,22 +27,50 @@
 block discarded – undo
27 27
 {
28 28
     public function getName(): ?string;
29 29
 
30
+    /**
31
+     * @return void
32
+     */
30 33
     public function setName(?string $name): void;
31 34
 
35
+    /**
36
+     * @return string
37
+     */
32 38
     public function getType(): ?string;
33 39
 
40
+    /**
41
+     * @param string $type
42
+     *
43
+     * @return void
44
+     */
34 45
     public function setType(?string $type): void;
35 46
 
36 47
     public function getConfiguration(): array;
37 48
 
49
+    /**
50
+     * @return void
51
+     */
38 52
     public function setConfiguration(array $configuration): void;
39 53
 
54
+    /**
55
+     * @return string
56
+     */
40 57
     public function getStorageType(): ?string;
41 58
 
59
+    /**
60
+     * @return void
61
+     */
42 62
     public function setStorageType(string $storageType): void;
43 63
 
64
+    /**
65
+     * @return integer
66
+     */
44 67
     public function getPosition(): ?int;
45 68
 
69
+    /**
70
+     * @param integer $position
71
+     *
72
+     * @return void
73
+     */
46 74
     public function setPosition(?int $position): void;
47 75
 
48 76
     /**
Please login to merge, or discard this patch.
src/Sylius/Component/Attribute/Model/AttributeTranslationInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -18,7 +18,13 @@
 block discarded – undo
18 18
 
19 19
 interface AttributeTranslationInterface extends ResourceInterface, TranslationInterface
20 20
 {
21
+    /**
22
+     * @return string
23
+     */
21 24
     public function getName(): ?string;
22 25
 
26
+    /**
27
+     * @return void
28
+     */
23 29
     public function setName(?string $name): void;
24 30
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Channel/Model/ChannelAwareInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -15,7 +15,13 @@
 block discarded – undo
15 15
 
16 16
 interface ChannelAwareInterface
17 17
 {
18
+    /**
19
+     * @return \Sylius\Component\Core\Model\ChannelInterface|null
20
+     */
18 21
     public function getChannel(): ?ChannelInterface;
19 22
 
23
+    /**
24
+     * @return void
25
+     */
20 26
     public function setChannel(?ChannelInterface $channel): void;
21 27
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Channel/Model/ChannelInterface.php 1 patch
Doc Comments   +26 added lines patch added patch discarded remove patch
@@ -24,19 +24,45 @@
 block discarded – undo
24 24
     ToggleableInterface,
25 25
     ResourceInterface
26 26
 {
27
+    /**
28
+     * @return string|null
29
+     */
27 30
     public function getName(): ?string;
28 31
 
32
+    /**
33
+     * @param string $name
34
+     *
35
+     * @return void
36
+     */
29 37
     public function setName(?string $name): void;
30 38
 
39
+    /**
40
+     * @return string|null
41
+     */
31 42
     public function getDescription(): ?string;
32 43
 
44
+    /**
45
+     * @return void
46
+     */
33 47
     public function setDescription(?string $description): void;
34 48
 
49
+    /**
50
+     * @return string|null
51
+     */
35 52
     public function getHostname(): ?string;
36 53
 
54
+    /**
55
+     * @return void
56
+     */
37 57
     public function setHostname(?string $hostname): void;
38 58
 
59
+    /**
60
+     * @return string|null
61
+     */
39 62
     public function getColor(): ?string;
40 63
 
64
+    /**
65
+     * @return void
66
+     */
41 67
     public function setColor(?string $color): void;
42 68
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Channel/Model/ChannelsAwareInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -24,7 +24,13 @@
 block discarded – undo
24 24
 
25 25
     public function hasChannel(ChannelInterface $channel): bool;
26 26
 
27
+    /**
28
+     * @return void
29
+     */
27 30
     public function addChannel(ChannelInterface $channel): void;
28 31
 
32
+    /**
33
+     * @return void
34
+     */
29 35
     public function removeChannel(ChannelInterface $channel): void;
30 36
 }
Please login to merge, or discard this patch.