Completed
Push — 1.4-user-interface-entity-mapp... ( 8eba19...bbc1f0 )
by Kamil
19:43 queued 07:23
created
src/Sylius/Component/Addressing/Model/ProvinceInterface.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -18,15 +18,33 @@
 block discarded – undo
18 18
 
19 19
 interface ProvinceInterface extends ResourceInterface, CodeAwareInterface
20 20
 {
21
+    /**
22
+     * @return string|null
23
+     */
21 24
     public function getName(): ?string;
22 25
 
26
+    /**
27
+     * @return void
28
+     */
23 29
     public function setName(?string $name): void;
24 30
 
31
+    /**
32
+     * @return string|null
33
+     */
25 34
     public function getAbbreviation(): ?string;
26 35
 
36
+    /**
37
+     * @return void
38
+     */
27 39
     public function setAbbreviation(?string $abbreviation): void;
28 40
 
41
+    /**
42
+     * @return CountryInterface|null
43
+     */
29 44
     public function getCountry(): ?CountryInterface;
30 45
 
46
+    /**
47
+     * @return void
48
+     */
31 49
     public function setCountry(?CountryInterface $country): void;
32 50
 }
Please login to merge, or discard this patch.
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/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.