Completed
Push — docs-unified-api-section ( 191e4f...d674e9 )
by Kamil
10:53 queued 04:48
created
src/Sylius/Behat/Page/Shop/Account/RequestPasswordResetPageInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -19,7 +19,13 @@
 block discarded – undo
19 19
 {
20 20
     public function checkValidationMessageFor(string $element, string $message): bool;
21 21
 
22
+    /**
23
+     * @return void
24
+     */
22 25
     public function reset(): void;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function specifyEmail(?string $email): void;
25 31
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Product/IndexPageInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -23,10 +23,19 @@
 block discarded – undo
23 23
 
24 24
     public function getLastProductNameFromList(): string;
25 25
 
26
+    /**
27
+     * @return void
28
+     */
26 29
     public function search(string $name): void;
27 30
 
31
+    /**
32
+     * @return void
33
+     */
28 34
     public function sort(string $orderNumber): void;
29 35
 
36
+    /**
37
+     * @return void
38
+     */
30 39
     public function clearFilter(): void;
31 40
 
32 41
     public function isProductOnList(string $productName): bool;
Please login to merge, or discard this patch.
src/Sylius/Bundle/AdminBundle/EmailManager/OrderEmailManagerInterface.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 OrderEmailManagerInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function sendConfirmationEmail(OrderInterface $order): void;
21 24
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ShopBundle/EmailManager/ContactEmailManagerInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -17,6 +17,12 @@
 block discarded – undo
17 17
 
18 18
 interface ContactEmailManagerInterface
19 19
 {
20
+    /**
21
+     * @param ChannelInterface $channel
22
+     * @param string $localeCode
23
+     *
24
+     * @return void
25
+     */
20 26
     public function sendContactRequest(
21 27
         array $data,
22 28
         array $recipients,
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Fixture/OptionsResolver/LazyOption.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
     public static function findOneBy(RepositoryInterface $repository, string $field, array $criteria = []): \Closure
124 124
     {
125 125
         return
126
-            /** @param mixed $previousValue */
126
+            /** @param string $previousValue */
127 127
             function (Options $options, $previousValue) use ($repository, $field, $criteria): ?object {
128 128
                 if (null === $previousValue || [] === $previousValue) {
129 129
                     return $previousValue;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
 
103 103
     public static function findBy(RepositoryInterface $repository, string $field, array $criteria = []): \Closure
104 104
     {
105
-        return function (Options $options, ?array $previousValues) use ($repository, $field, $criteria): ?iterable {
105
+        return function (Options $options, ?array $previousValues) use ($repository, $field, $criteria) : ?iterable {
106 106
             if (null === $previousValues || [] === $previousValues) {
107 107
                 return $previousValues;
108 108
             }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Checkout/CompletePageInterface.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -38,6 +38,9 @@  discard block
 block discarded – undo
38 38
 
39 39
     public function hasShippingMethod(ShippingMethodInterface $shippingMethod): bool;
40 40
 
41
+    /**
42
+     * @return void
43
+     */
41 44
     public function addNotes(string $notes): void;
42 45
 
43 46
     public function hasPromotionTotal(string $promotionTotal): bool;
@@ -62,12 +65,24 @@  discard block
 block discarded – undo
62 65
 
63 66
     public function hasCurrency(string $currencyCode): bool;
64 67
 
68
+    /**
69
+     * @return void
70
+     */
65 71
     public function confirmOrder(): void;
66 72
 
73
+    /**
74
+     * @return void
75
+     */
67 76
     public function changeAddress(): void;
68 77
 
78
+    /**
79
+     * @return void
80
+     */
69 81
     public function changeShippingMethod(): void;
70 82
 
83
+    /**
84
+     * @return void
85
+     */
71 86
     public function changePaymentMethod(): void;
72 87
 
73 88
     public function hasShippingProvinceName(string $provinceName): bool;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Checkout/SelectPaymentPageInterface.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -17,18 +17,33 @@
 block discarded – undo
17 17
 
18 18
 interface SelectPaymentPageInterface extends SymfonyPageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function selectPaymentMethod(string $paymentMethod): void;
21 24
 
22 25
     public function hasPaymentMethod(string $paymentMethodName): bool;
23 26
 
24 27
     public function getItemSubtotal(string $itemName): string;
25 28
 
29
+    /**
30
+     * @return void
31
+     */
26 32
     public function nextStep(): void;
27 33
 
34
+    /**
35
+     * @return void
36
+     */
28 37
     public function changeShippingMethod(): void;
29 38
 
39
+    /**
40
+     * @return void
41
+     */
30 42
     public function changeShippingMethodByStepLabel(): void;
31 43
 
44
+    /**
45
+     * @return void
46
+     */
32 47
     public function changeAddressByStepLabel(): void;
33 48
 
34 49
     public function hasNoAvailablePaymentMethodsWarning(): bool;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Checkout/SelectShippingPageInterface.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -17,6 +17,9 @@  discard block
 block discarded – undo
17 17
 
18 18
 interface SelectShippingPageInterface extends SymfonyPageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function selectShippingMethod(string $shippingMethod): void;
21 24
 
22 25
     public function getShippingMethods(): array;
@@ -29,10 +32,19 @@  discard block
 block discarded – undo
29 32
 
30 33
     public function getItemSubtotal(string $itemName): string;
31 34
 
35
+    /**
36
+     * @return void
37
+     */
32 38
     public function nextStep(): void;
33 39
 
40
+    /**
41
+     * @return void
42
+     */
34 43
     public function changeAddress(): void;
35 44
 
45
+    /**
46
+     * @return void
47
+     */
36 48
     public function changeAddressByStepLabel(): void;
37 49
 
38 50
     public function getPurchaserEmail(): string;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Product/ShowPageInterface.php 1 patch
Doc Comments   +16 added lines patch added patch discarded remove patch
@@ -22,24 +22,31 @@  discard block
 block discarded – undo
22 22
 {
23 23
     /**
24 24
      * @throws ElementNotFoundException
25
+     * @return void
25 26
      */
26 27
     public function addToCart(): void;
27 28
 
28 29
     /**
29 30
      * @throws ElementNotFoundException
31
+     * @return void
30 32
      */
31 33
     public function addToCartWithQuantity(string $quantity): void;
32 34
 
33 35
     /**
34 36
      * @throws ElementNotFoundException
37
+     * @return void
35 38
      */
36 39
     public function addToCartWithVariant(string $variant): void;
37 40
 
38 41
     /**
39 42
      * @throws ElementNotFoundException
43
+     * @return void
40 44
      */
41 45
     public function addToCartWithOption(ProductOptionInterface $option, string $optionValue): void;
42 46
 
47
+    /**
48
+     * @return null|string
49
+     */
43 50
     public function getAttributeByName(string $name): ?string;
44 51
 
45 52
     public function getAttributes(): array;
@@ -70,9 +77,18 @@  discard block
 block discarded – undo
70 77
 
71 78
     public function countReviews(): int;
72 79
 
80
+    /**
81
+     * @return void
82
+     */
73 83
     public function selectOption(string $optionCode, string $optionValue): void;
74 84
 
85
+    /**
86
+     * @return void
87
+     */
75 88
     public function selectVariant(string $variantName): void;
76 89
 
90
+    /**
91
+     * @return void
92
+     */
77 93
     public function visit(string $url): void;
78 94
 }
Please login to merge, or discard this patch.