Completed
Push — 1.4 ( 4d2cb6...71b698 )
by Kamil
09:52 queued 04:24
created
Sylius/Behat/Page/Admin/Product/CreateConfigurableProductPageInterface.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -18,15 +18,30 @@
 block discarded – undo
18 18
 
19 19
 interface CreateConfigurableProductPageInterface extends BaseCreatePageInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function selectOption(string $optionName): void;
22 25
 
26
+    /**
27
+     * @return void
28
+     */
23 29
     public function specifyCode(string $code): void;
24 30
 
31
+    /**
32
+     * @return void
33
+     */
25 34
     public function nameItIn(string $name, string $localeCode): void;
26 35
 
27 36
     public function isMainTaxonChosen(string $taxonName): bool;
28 37
 
38
+    /**
39
+     * @return void
40
+     */
29 41
     public function selectMainTaxon(TaxonInterface $taxon): void;
30 42
 
43
+    /**
44
+     * @return void
45
+     */
31 46
     public function attachImage(string $path, ?string $type = null): void;
32 47
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/CreateSimpleProductPageInterface.php 1 patch
Doc Comments   +48 added lines patch added patch discarded remove patch
@@ -19,42 +19,90 @@
 block discarded – undo
19 19
 
20 20
 interface CreateSimpleProductPageInterface extends BaseCreatePageInterface
21 21
 {
22
+    /**
23
+     * @return void
24
+     */
22 25
     public function specifyPrice(string $channelName, string $price): void;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function specifyOriginalPrice(string $channelName, int $originalPrice): void;
25 31
 
32
+    /**
33
+     * @return void
34
+     */
26 35
     public function choosePricingCalculator(string $name): void;
27 36
 
37
+    /**
38
+     * @return void
39
+     */
28 40
     public function checkChannel(string $channelName): void;
29 41
 
42
+    /**
43
+     * @return void
44
+     */
30 45
     public function specifyCode(string $code): void;
31 46
 
47
+    /**
48
+     * @return void
49
+     */
32 50
     public function nameItIn(string $name, string $localeCode): void;
33 51
 
52
+    /**
53
+     * @return void
54
+     */
34 55
     public function specifySlugIn(?string $slug, string $locale): void;
35 56
 
57
+    /**
58
+     * @return void
59
+     */
36 60
     public function addAttribute(string $attributeName, string $value, string $localeCode): void;
37 61
 
38 62
     public function getAttributeValidationErrors(string $attributeName, string $localeCode): string;
39 63
 
64
+    /**
65
+     * @return void
66
+     */
40 67
     public function removeAttribute(string $attributeName, string $localeCode): void;
41 68
 
42 69
     public function isMainTaxonChosen(string $taxonName): bool;
43 70
 
71
+    /**
72
+     * @return void
73
+     */
44 74
     public function selectMainTaxon(TaxonInterface $taxon): void;
45 75
 
76
+    /**
77
+     * @param string $type
78
+     *
79
+     * @return void
80
+     */
46 81
     public function attachImage(string $path, ?string $type = null): void;
47 82
 
48 83
     /**
49 84
      * @param string[] $productsNames
85
+     * @return void
50 86
      */
51 87
     public function associateProducts(ProductAssociationTypeInterface $productAssociationType, array $productsNames): void;
52 88
 
89
+    /**
90
+     * @return void
91
+     */
53 92
     public function removeAssociatedProduct(string $productName, ProductAssociationTypeInterface $productAssociationType): void;
54 93
 
94
+    /**
95
+     * @return void
96
+     */
55 97
     public function activateLanguageTab(string $locale): void;
56 98
 
99
+    /**
100
+     * @return void
101
+     */
57 102
     public function selectShippingCategory(string $shippingCategoryName): void;
58 103
 
104
+    /**
105
+     * @return void
106
+     */
59 107
     public function setShippingRequired(bool $isShippingRequired): void;
60 108
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ChannelInterface.php 1 patch
Doc Comments   +51 added lines patch added patch discarded remove patch
@@ -25,43 +25,94 @@
 block discarded – undo
25 25
     CurrenciesAwareInterface,
26 26
     LocalesAwareInterface
27 27
 {
28
+    /**
29
+     * @return CurrencyInterface
30
+     */
28 31
     public function getBaseCurrency(): ?CurrencyInterface;
29 32
 
33
+    /**
34
+     * @return void
35
+     */
30 36
     public function setBaseCurrency(?CurrencyInterface $currency): void;
31 37
 
38
+    /**
39
+     * @return LocaleInterface
40
+     */
32 41
     public function getDefaultLocale(): ?LocaleInterface;
33 42
 
43
+    /**
44
+     * @return void
45
+     */
34 46
     public function setDefaultLocale(?LocaleInterface $locale): void;
35 47
 
48
+    /**
49
+     * @return ZoneInterface
50
+     */
36 51
     public function getDefaultTaxZone(): ?ZoneInterface;
37 52
 
53
+    /**
54
+     * @return void
55
+     */
38 56
     public function setDefaultTaxZone(?ZoneInterface $defaultTaxZone): void;
39 57
 
58
+    /**
59
+     * @return string
60
+     */
40 61
     public function getTaxCalculationStrategy(): ?string;
41 62
 
63
+    /**
64
+     * @return void
65
+     */
42 66
     public function setTaxCalculationStrategy(?string $taxCalculationStrategy): void;
43 67
 
68
+    /**
69
+     * @return string
70
+     */
44 71
     public function getThemeName(): ?string;
45 72
 
73
+    /**
74
+     * @return void
75
+     */
46 76
     public function setThemeName(?string $themeName): void;
47 77
 
78
+    /**
79
+     * @return string
80
+     */
48 81
     public function getContactEmail(): ?string;
49 82
 
83
+    /**
84
+     * @return void
85
+     */
50 86
     public function setContactEmail(?string $contactEmail): void;
51 87
 
52 88
     public function isSkippingShippingStepAllowed(): bool;
53 89
 
90
+    /**
91
+     * @return void
92
+     */
54 93
     public function setSkippingShippingStepAllowed(bool $skippingShippingStepAllowed): void;
55 94
 
56 95
     public function isSkippingPaymentStepAllowed(): bool;
57 96
 
97
+    /**
98
+     * @return void
99
+     */
58 100
     public function setSkippingPaymentStepAllowed(bool $skippingPaymentStepAllowed): void;
59 101
 
60 102
     public function isAccountVerificationRequired(): bool;
61 103
 
104
+    /**
105
+     * @return void
106
+     */
62 107
     public function setAccountVerificationRequired(bool $accountVerificationRequired): void;
63 108
 
109
+    /**
110
+     * @return ShopBillingDataInterface|null
111
+     */
64 112
     public function getShopBillingData(): ?ShopBillingDataInterface;
65 113
 
114
+    /**
115
+     * @return void
116
+     */
66 117
     public function setShopBillingData(ShopBillingDataInterface $shopBillingData): void;
67 118
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Transform/TaxonContext.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -37,6 +37,7 @@
 block discarded – undo
37 37
      * @Transform /^taxon with "([^"]+)" name/
38 38
      * @Transform /^taxon "([^"]+)"$/
39 39
      * @Transform :taxon
40
+     * @param string $name
40 41
      */
41 42
     public function getTaxonByName($name)
42 43
     {
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ProductVariant/UpdatePageInterface.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -19,8 +19,14 @@  discard block
 block discarded – undo
19 19
 
20 20
 interface UpdatePageInterface extends BaseUpdatePageInterface
21 21
 {
22
+    /**
23
+     * @return void
24
+     */
22 25
     public function disableTracking(): void;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function enableTracking(): void;
25 31
 
26 32
     public function isCodeDisabled(): bool;
@@ -39,9 +45,18 @@  discard block
 block discarded – undo
39 45
 
40 46
     public function getNameInLanguage(string $language): string;
41 47
 
48
+    /**
49
+     * @return void
50
+     */
42 51
     public function selectOption(string $optionName, string $optionValue): void;
43 52
 
53
+    /**
54
+     * @return void
55
+     */
44 56
     public function specifyCurrentStock(int $amount): void;
45 57
 
58
+    /**
59
+     * @return void
60
+     */
46 61
     public function specifyPrice(int $price): void;
47 62
 }
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,13 +31,22 @@
 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
 
40 46
     public function hasAttributeByCodeAndLocale(string $attributeCode, ?string $localeCode = null): bool;
41 47
 
48
+    /**
49
+     * @param string $localeCode
50
+     */
42 51
     public function getAttributeByCodeAndLocale(string $attributeCode, ?string $localeCode = null): ?AttributeValueInterface;
43 52
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Attribute/Model/AttributeValueInterface.php 1 patch
Doc Comments   +26 added lines patch added patch discarded remove patch
@@ -25,18 +25,38 @@  discard block
 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;
@@ -45,8 +65,14 @@  discard block
 block discarded – undo
45 65
 
46 66
     /**
47 67
      * @throws \InvalidArgumentException
68
+     * @return string
48 69
      */
49 70
     public function getLocaleCode(): ?string;
50 71
 
72
+    /**
73
+     * @param string $localeCode
74
+     *
75
+     * @return void
76
+     */
51 77
     public function setLocaleCode(?string $localeCode): void;
52 78
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Customer/Model/CustomerAwareInterface.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
     public function getCustomer(): ?CustomerInterface;
19 19
 
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function setCustomer(?CustomerInterface $customer): void;
21 24
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Order/Model/AdjustmentInterface.php 1 patch
Doc Comments   +36 added lines patch added patch discarded remove patch
@@ -18,30 +18,60 @@  discard block
 block discarded – undo
18 18
 
19 19
 interface AdjustmentInterface extends ResourceInterface, TimestampableInterface
20 20
 {
21
+    /**
22
+     * @return OrderItemUnitInterface|null
23
+     */
21 24
     public function getAdjustable(): ?AdjustableInterface;
22 25
 
26
+    /**
27
+     * @return void
28
+     */
23 29
     public function setAdjustable(?AdjustableInterface $adjustable): void;
24 30
 
31
+    /**
32
+     * @return string|null
33
+     */
25 34
     public function getType(): ?string;
26 35
 
36
+    /**
37
+     * @return void
38
+     */
27 39
     public function setType(?string $type): void;
28 40
 
41
+    /**
42
+     * @return string|null
43
+     */
29 44
     public function getLabel(): ?string;
30 45
 
46
+    /**
47
+     * @return void
48
+     */
31 49
     public function setLabel(?string $label): void;
32 50
 
33 51
     public function getAmount(): int;
34 52
 
53
+    /**
54
+     * @return void
55
+     */
35 56
     public function setAmount(int $amount): void;
36 57
 
37 58
     public function isNeutral(): bool;
38 59
 
60
+    /**
61
+     * @return void
62
+     */
39 63
     public function setNeutral(bool $neutral): void;
40 64
 
41 65
     public function isLocked(): bool;
42 66
 
67
+    /**
68
+     * @return void
69
+     */
43 70
     public function lock(): void;
44 71
 
72
+    /**
73
+     * @return void
74
+     */
45 75
     public function unlock(): void;
46 76
 
47 77
     /**
@@ -54,7 +84,13 @@  discard block
 block discarded – undo
54 84
      */
55 85
     public function isCredit(): bool;
56 86
 
87
+    /**
88
+     * @return string|null
89
+     */
57 90
     public function getOriginCode(): ?string;
58 91
 
92
+    /**
93
+     * @return void
94
+     */
59 95
     public function setOriginCode(?string $originCode): void;
60 96
 }
Please login to merge, or discard this patch.