Completed
Push — travis-xenial ( 7a72dd...c18ce8 )
by Kamil
12:54 queued 05:28
created
src/Sylius/Behat/Page/Shop/Cart/SummaryPage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -253,7 +253,7 @@
 block discarded – undo
253 253
     }
254 254
 
255 255
     /**
256
-     * @param string|array $selector
256
+     * @param string $selector
257 257
      *
258 258
      * @throws ElementNotFoundException
259 259
      */
Please login to merge, or discard this patch.
src/Sylius/Behat/Client/ApiSecurityClientInterface.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -15,12 +15,24 @@
 block discarded – undo
15 15
 
16 16
 interface ApiSecurityClientInterface
17 17
 {
18
+    /**
19
+     * @return void
20
+     */
18 21
     public function prepareLoginRequest(): void;
19 22
 
23
+    /**
24
+     * @return void
25
+     */
20 26
     public function setEmail(string $email): void;
21 27
 
28
+    /**
29
+     * @return void
30
+     */
22 31
     public function setPassword(string $password): void;
23 32
 
33
+    /**
34
+     * @return void
35
+     */
24 36
     public function call(): void;
25 37
 
26 38
     public function isLoggedIn(): bool;
Please login to merge, or discard this patch.
src/Sylius/Behat/Service/SecurityServiceInterface.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -21,9 +21,13 @@  discard block
 block discarded – undo
21 21
 {
22 22
     /**
23 23
      * @throws \InvalidArgumentException
24
+     * @return void
24 25
      */
25 26
     public function logIn(UserInterface $user): void;
26 27
 
28
+    /**
29
+     * @return void
30
+     */
27 31
     public function logOut(): void;
28 32
 
29 33
     /**
@@ -31,5 +35,8 @@  discard block
 block discarded – undo
31 35
      */
32 36
     public function getCurrentToken(): TokenInterface;
33 37
 
38
+    /**
39
+     * @return void
40
+     */
34 41
     public function restoreToken(TokenInterface $token): void;
35 42
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ImageAwareInterface.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -15,7 +15,15 @@
 block discarded – undo
15 15
 
16 16
 interface ImageAwareInterface
17 17
 {
18
+    /**
19
+     * @return ImageInterface
20
+     */
18 21
     public function getImage(): ?ImageInterface;
19 22
 
23
+    /**
24
+     * @param ImageInterface $image
25
+     *
26
+     * @return void
27
+     */
20 28
     public function setImage(?ImageInterface $image): void;
21 29
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/OrderInterface.php 1 patch
Doc Comments   +70 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|null
39
+     */
37 40
     public function getShippingAddress(): ?AddressInterface;
38 41
 
42
+    /**
43
+     * @param AddressInterface $address
44
+     *
45
+     * @return void
46
+     */
39 47
     public function setShippingAddress(?AddressInterface $address): void;
40 48
 
49
+    /**
50
+     * @return AddressInterface|null
51
+     */
41 52
     public function getBillingAddress(): ?AddressInterface;
42 53
 
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
     /**
@@ -75,26 +101,58 @@  discard block
 block discarded – undo
75 101
 
76 102
     public function hasShipments(): bool;
77 103
 
104
+    /**
105
+     * @return void
106
+     */
78 107
     public function addShipment(ShipmentInterface $shipment): void;
79 108
 
109
+    /**
110
+     * @return void
111
+     */
80 112
     public function removeShipment(ShipmentInterface $shipment): void;
81 113
 
114
+    /**
115
+     * @return void
116
+     */
82 117
     public function removeShipments(): void;
83 118
 
84 119
     public function hasShipment(ShipmentInterface $shipment): bool;
85 120
 
121
+    /**
122
+     * @return string|null
123
+     */
86 124
     public function getCurrencyCode(): ?string;
87 125
 
126
+    /**
127
+     * @return void
128
+     */
88 129
     public function setCurrencyCode(?string $currencyCode): void;
89 130
 
131
+    /**
132
+     * @return string|null
133
+     */
90 134
     public function getLocaleCode(): ?string;
91 135
 
136
+    /**
137
+     * @return void
138
+     */
92 139
     public function setLocaleCode(?string $localeCode): void;
93 140
 
141
+    /**
142
+     * @param PromotionCouponInterface $coupon
143
+     *
144
+     * @return void
145
+     */
94 146
     public function setPromotionCoupon(?BaseCouponInterface $coupon): void;
95 147
 
148
+    /**
149
+     * @return string
150
+     */
96 151
     public function getShippingState(): ?string;
97 152
 
153
+    /**
154
+     * @return void
155
+     */
98 156
     public function setShippingState(?string $state): void;
99 157
 
100 158
     public function getLastPayment(?string $state = null): ?PaymentInterface;
@@ -105,12 +163,24 @@  discard block
 block discarded – undo
105 163
 
106 164
     public function getOrderPromotionTotal(): int;
107 165
 
166
+    /**
167
+     * @return string|null
168
+     */
108 169
     public function getTokenValue(): ?string;
109 170
 
171
+    /**
172
+     * @return void
173
+     */
110 174
     public function setTokenValue(?string $tokenValue): void;
111 175
 
176
+    /**
177
+     * @return string|null
178
+     */
112 179
     public function getCustomerIp(): ?string;
113 180
 
181
+    /**
182
+     * @return void
183
+     */
114 184
     public function setCustomerIp(?string $customerIp): void;
115 185
 
116 186
     /**
Please login to merge, or discard this patch.
src/Sylius/Component/Taxonomy/Model/Taxon.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -62,6 +62,7 @@
 block discarded – undo
62 62
 
63 63
     /**
64 64
      * {@inheritdoc}
65
+     * @param string $code
65 66
      */
66 67
     public function setCode(?string $code): void
67 68
     {
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Api/Admin/ManagingProductReviewsContext.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -170,9 +170,9 @@
 block discarded – undo
170 170
     {
171 171
         $id = (string) $this->sharedStorage->get('product_review_id');
172 172
         Assert::false(
173
-           $this->isItemOnIndex('id', $id),
174
-           sprintf('Product review with id %s exist', $id)
175
-       );
173
+            $this->isItemOnIndex('id', $id),
174
+            sprintf('Product review with id %s exist', $id)
175
+        );
176 176
     }
177 177
 
178 178
     /**
Please login to merge, or discard this patch.
Sylius/Behat/Context/Api/Admin/ManagingProductAssociationTypesContext.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -65,10 +65,10 @@
 block discarded – undo
65 65
     {
66 66
         $this->client->updateRequestData([
67 67
             'translations' => [
68
-                 $localeCode => [
69
-                      'name' => $productAssociationTypeName,
70
-                      'locale' => $localeCode,
71
-                 ],
68
+                    $localeCode => [
69
+                        'name' => $productAssociationTypeName,
70
+                        'locale' => $localeCode,
71
+                    ],
72 72
             ],
73 73
         ]);
74 74
     }
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Api/Admin/ManagingShipmentsContext.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -150,10 +150,10 @@
 block discarded – undo
150 150
     public function iShouldSeeTheShippingDateAs(OrderInterface $order, string $dateTime): void
151 151
     {
152 152
         Assert::eq(
153
-             new \DateTime($this->responseChecker->getValue($this->client->show((string) $order->getShipments()->first()->getId()), 'shippedAt')),
154
-             new \DateTime($dateTime),
155
-             'Shipment was shipped in different date'
156
-         );
153
+                new \DateTime($this->responseChecker->getValue($this->client->show((string) $order->getShipments()->first()->getId()), 'shippedAt')),
154
+                new \DateTime($dateTime),
155
+                'Shipment was shipped in different date'
156
+            );
157 157
     }
158 158
 
159 159
     /**
Please login to merge, or discard this patch.