Completed
Push — 1.3-make-js-behat-faster ( 85e122 )
by Kamil
09:41
created
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.
Component/Core/Inventory/Operator/OrderInventoryOperatorInterface.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -19,13 +19,18 @@
 block discarded – undo
19 19
 {
20 20
     /**
21 21
      * @throws \InvalidArgumentException
22
+     * @return void
22 23
      */
23 24
     public function cancel(OrderInterface $order): void;
24 25
 
26
+    /**
27
+     * @return void
28
+     */
25 29
     public function hold(OrderInterface $order): void;
26 30
 
27 31
     /**
28 32
      * @throws \InvalidArgumentException
33
+     * @return void
29 34
      */
30 35
     public function sell(OrderInterface $order): void;
31 36
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Locale/LocaleStorageInterface.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 LocaleStorageInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function set(ChannelInterface $channel, string $localeCode): void;
22 25
 
23 26
     /**
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/AdminUserInterface.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -19,15 +19,33 @@
 block discarded – undo
19 19
 {
20 20
     public const DEFAULT_ADMIN_ROLE = 'ROLE_ADMINISTRATION_ACCESS';
21 21
 
22
+    /**
23
+     * @return string
24
+     */
22 25
     public function getFirstName(): ?string;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function setFirstName(?string $firstName): void;
25 31
 
32
+    /**
33
+     * @return string
34
+     */
26 35
     public function getLastName(): ?string;
27 36
 
37
+    /**
38
+     * @return void
39
+     */
28 40
     public function setLastName(?string $lastName): void;
29 41
 
42
+    /**
43
+     * @return string
44
+     */
30 45
     public function getLocaleCode(): ?string;
31 46
 
47
+    /**
48
+     * @return void
49
+     */
32 50
     public function setLocaleCode(?string $code): void;
33 51
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ChannelInterface.php 1 patch
Doc Comments   +45 added lines patch added patch discarded remove patch
@@ -25,39 +25,84 @@
 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
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/CustomerInterface.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -25,12 +25,26 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public function getOrders(): Collection;
27 27
 
28
+    /**
29
+     * @return AddressInterface
30
+     */
28 31
     public function getDefaultAddress(): ?AddressInterface;
29 32
 
33
+    /**
34
+     * @param AddressInterface $defaultAddress
35
+     *
36
+     * @return void
37
+     */
30 38
     public function setDefaultAddress(?AddressInterface $defaultAddress): void;
31 39
 
40
+    /**
41
+     * @return void
42
+     */
32 43
     public function addAddress(AddressInterface $address): void;
33 44
 
45
+    /**
46
+     * @return void
47
+     */
34 48
     public function removeAddress(AddressInterface $address): void;
35 49
 
36 50
     public function hasAddress(AddressInterface $address): bool;
@@ -49,6 +63,7 @@  discard block
 block discarded – undo
49 63
 
50 64
     /**
51 65
      * @param ShopUserInterface|UserInterface|null $user
66
+     * @return void
52 67
      */
53 68
     public function setUser(?UserInterface $user);
54 69
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ImagesAwareInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -31,7 +31,13 @@
 block discarded – undo
31 31
 
32 32
     public function hasImage(ImageInterface $image): bool;
33 33
 
34
+    /**
35
+     * @return void
36
+     */
34 37
     public function addImage(ImageInterface $image): void;
35 38
 
39
+    /**
40
+     * @return void
41
+     */
36 42
     public function removeImage(ImageInterface $image): void;
37 43
 }
Please login to merge, or discard this patch.