Completed
Push — 1.5 ( 6e108d...c67758 )
by Kamil
25:28 queued 09:34
created
src/Sylius/Component/Attribute/Model/AttributeSubjectInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -31,12 +31,21 @@
 block discarded – undo
31 31
         ?string $baseLocaleCode = null
32 32
     ): Collection;
33 33
 
34
+    /**
35
+     * @return void
36
+     */
34 37
     public function addAttribute(AttributeValueInterface $attribute): void;
35 38
 
39
+    /**
40
+     * @return void
41
+     */
36 42
     public function removeAttribute(AttributeValueInterface $attribute): void;
37 43
 
38 44
     public function hasAttribute(AttributeValueInterface $attribute): bool;
39 45
 
46
+    /**
47
+     * @param string $localeCode
48
+     */
40 49
     public function hasAttributeByCodeAndLocale(string $attributeCode, ?string $localeCode = null): bool;
41 50
 
42 51
     public function getAttributeByCodeAndLocale(string $attributeCode, ?string $localeCode = null): ?AttributeValueInterface;
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/Attribute/Model/AttributeValueInterface.php 1 patch
Doc Comments   +27 added lines patch added patch discarded remove patch
@@ -25,28 +25,55 @@
 block discarded – undo
25 25
     public const STORAGE_JSON = 'json';
26 26
     public const STORAGE_TEXT = 'text';
27 27
 
28
+    /**
29
+     * @return AttributeSubjectInterface
30
+     */
28 31
     public function getSubject(): ?AttributeSubjectInterface;
29 32
 
33
+    /**
34
+     * @return void
35
+     */
30 36
     public function setSubject(?AttributeSubjectInterface $subject): void;
31 37
 
38
+    /**
39
+     * @return AttributeInterface
40
+     */
32 41
     public function getAttribute(): ?AttributeInterface;
33 42
 
43
+    /**
44
+     * @param \Sylius\Component\Product\Model\ProductAttributeInterface $attribute
45
+     *
46
+     * @return void
47
+     */
34 48
     public function setAttribute(?AttributeInterface $attribute): void;
35 49
 
36 50
     public function getValue();
37 51
 
52
+    /**
53
+     * @return void
54
+     */
38 55
     public function setValue($value): void;
39 56
 
57
+    /**
58
+     * @return string
59
+     */
40 60
     public function getCode(): ?string;
41 61
 
42 62
     public function getName(): ?string;
43 63
 
64
+    /**
65
+     * @return string
66
+     */
44 67
     public function getType(): ?string;
45 68
 
46 69
     /**
47 70
      * @throws \InvalidArgumentException
71
+     * @return string
48 72
      */
49 73
     public function getLocaleCode(): ?string;
50 74
 
75
+    /**
76
+     * @return void
77
+     */
51 78
     public function setLocaleCode(?string $localeCode): void;
52 79
 }
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.
src/Sylius/Component/Core/Currency/CurrencyStorageInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@
 block discarded – undo
18 18
 
19 19
 interface CurrencyStorageInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function set(ChannelInterface $channel, string $currencyCode): void;
22 25
 
23 26
     /**
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Customer/CustomerAddressAdderInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,5 +18,8 @@
 block discarded – undo
18 18
 
19 19
 interface CustomerAddressAdderInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function add(CustomerInterface $customer, AddressInterface $address): void;
22 25
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Customer/OrderAddressesSaverInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,5 +17,8 @@
 block discarded – undo
17 17
 
18 18
 interface OrderAddressesSaverInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function saveAddresses(OrderInterface $order): void;
21 24
 }
Please login to merge, or discard this patch.