Completed
Push — 1.3-extract-fixtures-bundle ( 8eb0ca...06f1fa )
by Kamil
28:35 queued 12:09
created
src/Sylius/Bundle/ResourceBundle/Controller/RequestConfiguration.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@
 block discarded – undo
157 157
     /**
158 158
      * @param string $name
159 159
      *
160
-     * @return mixed|string|null
160
+     * @return string
161 161
      */
162 162
     public function getRedirectRoute($name)
163 163
     {
Please login to merge, or discard this patch.
Sylius/Bundle/ResourceBundle/Form/Registry/FormTypeRegistryInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -15,8 +15,14 @@
 block discarded – undo
15 15
 
16 16
 interface FormTypeRegistryInterface
17 17
 {
18
+    /**
19
+     * @return void
20
+     */
18 21
     public function add(string $identifier, string $typeIdentifier, string $formType): void;
19 22
 
23
+    /**
24
+     * @return string
25
+     */
20 26
     public function get(string $identifier, string $typeIdentifier): ?string;
21 27
 
22 28
     public function has(string $identifier, string $typeIdentifier): bool;
Please login to merge, or discard this patch.
src/Sylius/Bundle/UserBundle/Provider/AbstractUserProvider.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -91,6 +91,7 @@
 block discarded – undo
91 91
 
92 92
     /**
93 93
      * {@inheritdoc}
94
+     * @param string $class
94 95
      */
95 96
     public function supportsClass($class): bool
96 97
     {
Please login to merge, or discard this patch.
src/Sylius/Component/Addressing/Matcher/ZoneMatcher.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -116,6 +116,9 @@
 block discarded – undo
116 116
         return $this->zoneRepository->findBy(['scope' => [$scope, Scope::ALL]]);
117 117
     }
118 118
 
119
+    /**
120
+     * @return AddressInterface
121
+     */
119 122
     private function getZoneByCode(string $code): ?ZoneInterface
120 123
     {
121 124
         return $this->zoneRepository->findOneBy(['code' => $code]);
Please login to merge, or discard this patch.
src/Sylius/Component/Addressing/Model/CountryInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -29,8 +29,14 @@
 block discarded – undo
29 29
 
30 30
     public function hasProvinces(): bool;
31 31
 
32
+    /**
33
+     * @return void
34
+     */
32 35
     public function addProvince(ProvinceInterface $province): void;
33 36
 
37
+    /**
38
+     * @return void
39
+     */
34 40
     public function removeProvince(ProvinceInterface $province): void;
35 41
 
36 42
     public function hasProvince(ProvinceInterface $province): bool;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ChannelPricingInterface.php 1 patch
Doc Comments   +21 added lines patch added patch discarded remove patch
@@ -17,12 +17,24 @@  discard block
 block discarded – undo
17 17
 
18 18
 interface ChannelPricingInterface extends ResourceInterface
19 19
 {
20
+    /**
21
+     * @return ProductVariantInterface
22
+     */
20 23
     public function getProductVariant(): ?ProductVariantInterface;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function setProductVariant(?ProductVariantInterface $productVariant): void;
23 29
 
30
+    /**
31
+     * @return integer
32
+     */
24 33
     public function getPrice(): ?int;
25 34
 
35
+    /**
36
+     * @return void
37
+     */
26 38
     public function setPrice(?int $price): void;
27 39
 
28 40
     /**
@@ -30,10 +42,19 @@  discard block
 block discarded – undo
30 42
      */
31 43
     public function getChannelCode(): ?string;
32 44
 
45
+    /**
46
+     * @return void
47
+     */
33 48
     public function setChannelCode(?string $channelCode): void;
34 49
 
50
+    /**
51
+     * @return integer
52
+     */
35 53
     public function getOriginalPrice(): ?int;
36 54
 
55
+    /**
56
+     * @return void
57
+     */
37 58
     public function setOriginalPrice(?int $originalPrice): void;
38 59
 
39 60
     public function isPriceReduced(): bool;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ImageInterface.php 1 patch
Doc Comments   +16 added lines patch added patch discarded remove patch
@@ -22,16 +22,31 @@  discard block
 block discarded – undo
22 22
      */
23 23
     public function getType(): ?string;
24 24
 
25
+    /**
26
+     * @return void
27
+     */
25 28
     public function setType(?string $type): void;
26 29
 
30
+    /**
31
+     * @return \SplFileInfo
32
+     */
27 33
     public function getFile(): ?\SplFileInfo;
28 34
 
35
+    /**
36
+     * @return void
37
+     */
29 38
     public function setFile(?\SplFileInfo $file): void;
30 39
 
31 40
     public function hasFile(): bool;
32 41
 
42
+    /**
43
+     * @return string
44
+     */
33 45
     public function getPath(): ?string;
34 46
 
47
+    /**
48
+     * @return void
49
+     */
35 50
     public function setPath(?string $path): void;
36 51
 
37 52
     /**
@@ -41,6 +56,7 @@  discard block
 block discarded – undo
41 56
 
42 57
     /**
43 58
      * @param object|null $owner
59
+     * @return void
44 60
      */
45 61
     public function setOwner($owner): void;
46 62
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/OrderInterface.php 1 patch
Doc Comments   +73 added lines patch added patch discarded remove patch
@@ -34,20 +34,46 @@  discard block
 block discarded – undo
34 34
 {
35 35
     public function getUser(): ?UserInterface;
36 36
 
37
+    /**
38
+     * @return AddressInterface
39
+     */
37 40
     public function getShippingAddress(): ?AddressInterface;
38 41
 
42
+    /**
43
+     * @return void
44
+     */
39 45
     public function setShippingAddress(?AddressInterface $address): void;
40 46
 
47
+    /**
48
+     * @return AddressInterface
49
+     */
41 50
     public function getBillingAddress(): ?AddressInterface;
42 51
 
52
+    /**
53
+     * @param AddressInterface $address
54
+     *
55
+     * @return void
56
+     */
43 57
     public function setBillingAddress(?AddressInterface $address): void;
44 58
 
59
+    /**
60
+     * @return string
61
+     */
45 62
     public function getCheckoutState(): ?string;
46 63
 
64
+    /**
65
+     * @return void
66
+     */
47 67
     public function setCheckoutState(?string $checkoutState): void;
48 68
 
69
+    /**
70
+     * @return string
71
+     */
49 72
     public function getPaymentState(): ?string;
50 73
 
74
+    /**
75
+     * @return void
76
+     */
51 77
     public function setPaymentState(?string $paymentState): void;
52 78
 
53 79
     /**
@@ -69,28 +95,63 @@  discard block
 block discarded – undo
69 95
 
70 96
     public function hasShipments(): bool;
71 97
 
98
+    /**
99
+     * @return void
100
+     */
72 101
     public function addShipment(ShipmentInterface $shipment): void;
73 102
 
103
+    /**
104
+     * @return void
105
+     */
74 106
     public function removeShipment(ShipmentInterface $shipment): void;
75 107
 
108
+    /**
109
+     * @return void
110
+     */
76 111
     public function removeShipments(): void;
77 112
 
78 113
     public function hasShipment(ShipmentInterface $shipment): bool;
79 114
 
115
+    /**
116
+     * @return string
117
+     */
80 118
     public function getCurrencyCode(): ?string;
81 119
 
120
+    /**
121
+     * @return void
122
+     */
82 123
     public function setCurrencyCode(?string $currencyCode): void;
83 124
 
125
+    /**
126
+     * @return string
127
+     */
84 128
     public function getLocaleCode(): ?string;
85 129
 
130
+    /**
131
+     * @return void
132
+     */
86 133
     public function setLocaleCode(?string $localeCode): void;
87 134
 
135
+    /**
136
+     * @param PromotionCouponInterface $coupon
137
+     *
138
+     * @return void
139
+     */
88 140
     public function setPromotionCoupon(?BaseCouponInterface $coupon): void;
89 141
 
142
+    /**
143
+     * @return string
144
+     */
90 145
     public function getShippingState(): ?string;
91 146
 
147
+    /**
148
+     * @return void
149
+     */
92 150
     public function setShippingState(?string $state): void;
93 151
 
152
+    /**
153
+     * @return PaymentInterface
154
+     */
94 155
     public function getLastPayment(?string $state = null): ?PaymentInterface;
95 156
 
96 157
     public function getTaxTotal(): int;
@@ -99,12 +160,24 @@  discard block
 block discarded – undo
99 160
 
100 161
     public function getOrderPromotionTotal(): int;
101 162
 
163
+    /**
164
+     * @return string
165
+     */
102 166
     public function getTokenValue(): ?string;
103 167
 
168
+    /**
169
+     * @return void
170
+     */
104 171
     public function setTokenValue(?string $tokenValue): void;
105 172
 
173
+    /**
174
+     * @return string
175
+     */
106 176
     public function getCustomerIp(): ?string;
107 177
 
178
+    /**
179
+     * @return void
180
+     */
108 181
     public function setCustomerIp(?string $customerIp): void;
109 182
 
110 183
     /**
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/PaymentMethodInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@
 block discarded – undo
19 19
 
20 20
 interface PaymentMethodInterface extends BasePaymentMethodInterface, ChannelsAwareInterface
21 21
 {
22
+    /**
23
+     * @return void
24
+     */
22 25
     public function setGatewayConfig(?GatewayConfigInterface $gateway): void;
23 26
 
24 27
     public function getGatewayConfig(): ?GatewayConfigInterface;
Please login to merge, or discard this patch.