Completed
Push — symfony3-fqcn ( 04e8c2...ea8d6b )
by Kamil
18:56
created
src/Sylius/Behat/Page/Shop/Checkout/SelectShippingPageInterface.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@  discard block
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @param string $shippingMethod
23
+     * @return void
23 24
      */
24 25
     public function selectShippingMethod($shippingMethod);
25 26
 
@@ -50,10 +51,19 @@  discard block
 block discarded – undo
50 51
      */
51 52
     public function getItemSubtotal($itemName);
52 53
 
54
+    /**
55
+     * @return void
56
+     */
53 57
     public function nextStep();
54 58
 
59
+    /**
60
+     * @return void
61
+     */
55 62
     public function changeAddress();
56 63
 
64
+    /**
65
+     * @return void
66
+     */
57 67
     public function changeAddressByStepLabel();
58 68
 
59 69
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/HomePageInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param OptionInterface $option
30
+     * @return void
30 31
      */
31 32
     public function setOption(OptionInterface $option = null);
32 33
 
@@ -41,6 +42,7 @@  discard block
 block discarded – undo
41 42
      * Set internal value.
42 43
      *
43 44
      * @param string $value
45
+     * @return void
44 46
      */
45 47
     public function setValue($value);
46 48
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Order/ShowPageInterface.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -26,10 +26,14 @@
 block discarded – undo
26 26
      */
27 27
     public function checkValidationMessageFor($element, $message);
28 28
 
29
+    /**
30
+     * @return void
31
+     */
29 32
     public function reset();
30 33
 
31 34
     /**
32 35
      * @param string $email
36
+     * @return void
33 37
      */
34 38
     public function specifyEmail($email);
35 39
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Order/ThankYouPageInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param string $value
30
+     * @return void
30 31
      */
31 32
     public function setValue($value);
32 33
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Product/ShowPageInterface.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
 
14 14
 use Behat\Mink\Exception\ElementNotFoundException;
15 15
 use Sylius\Behat\Page\PageInterface;
16
-use Sylius\Component\Product\Model\ProductOptionInterface;
17 16
 use Sylius\Component\Product\Model\ProductInterface;
17
+use Sylius\Component\Product\Model\ProductOptionInterface;
18 18
 
19 19
 /**
20 20
  * @author Łukasz Chruściel <[email protected]>
Please login to merge, or discard this patch.
Doc Comments   +9 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,6 +24,7 @@  discard block
 block discarded – undo
24 24
 {
25 25
     /**
26 26
      * @throws ElementNotFoundException
27
+     * @return void
27 28
      */
28 29
     public function addToCart();
29 30
 
@@ -31,6 +32,7 @@  discard block
 block discarded – undo
31 32
      * @param string $quantity
32 33
      *
33 34
      * @throws ElementNotFoundException
35
+     * @return void
34 36
      */
35 37
     public function addToCartWithQuantity($quantity);
36 38
 
@@ -38,6 +40,7 @@  discard block
 block discarded – undo
38 40
      * @param string $variant
39 41
      *
40 42
      * @throws ElementNotFoundException
43
+     * @return void
41 44
      */
42 45
     public function addToCartWithVariant($variant);
43 46
 
@@ -46,6 +49,7 @@  discard block
 block discarded – undo
46 49
      * @param string $optionValue
47 50
      *
48 51
      * @throws ElementNotFoundException
52
+     * @return void
49 53
      */
50 54
     public function addToCartWithOption(ProductOptionInterface $option, $optionValue);
51 55
 
@@ -56,6 +60,7 @@  discard block
 block discarded – undo
56 60
 
57 61
     /**
58 62
      * @param string $url
63
+     * @return void
59 64
      */
60 65
     public function visit($url);
61 66
 
@@ -67,7 +72,7 @@  discard block
 block discarded – undo
67 72
     public function getAttributeByName($attributeName);
68 73
 
69 74
     /**
70
-     * @return array
75
+     * @return \Behat\Mink\Element\NodeElement[]
71 76
      */
72 77
     public function getAttributes();
73 78
 
@@ -80,6 +85,7 @@  discard block
 block discarded – undo
80 85
 
81 86
     /**
82 87
      * @param int $timeout
88
+     * @return void
83 89
      */
84 90
     public function waitForValidationErrors($timeout);
85 91
 
@@ -123,11 +129,13 @@  discard block
 block discarded – undo
123 129
     /**
124 130
      * @param string $optionName
125 131
      * @param string $optionValue
132
+     * @return void
126 133
      */
127 134
     public function selectOption($optionName, $optionValue);
128 135
 
129 136
     /**
130 137
      * @param string $variantName
138
+     * @return void
131 139
      */
132 140
     public function selectVariant($variantName);
133 141
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Service/Mocker/MockerInterface.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -20,8 +20,12 @@
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @param string $shippingMethod
23
+     * @return void
23 24
      */
24 25
     public function selectShippingMethod($shippingMethod);
25 26
 
27
+    /**
28
+     * @return void
29
+     */
26 30
     public function continueCheckout();
27 31
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Service/SharedSecurityServiceInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param string $value
30
+     * @return void
30 31
      */
31 32
     public function setValue($value);
32 33
 }
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace Sylius\Behat\Service;
13 13
 
14 14
 use Sylius\Component\Core\Model\AdminUserInterface;
15
-use Sylius\Component\Core\Model\ShopUserInterface;
16 15
 
17 16
 /**
18 17
  * @author Arkadiusz Krakowiak <[email protected]>
Please login to merge, or discard this patch.
Bundle/AttributeBundle/Doctrine/ORM/Subscriber/LoadMetadataSubscriber.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     }
59 59
 
60 60
     /**
61
-     * @return array
61
+     * @return string[]
62 62
      */
63 63
     public function getRecipients()
64 64
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
             'targetEntity' => $subjectClass,
88 88
             'inversedBy' => 'attributes',
89 89
             'joinColumns' => [[
90
-                'name' => $subject.'_id',
90
+                'name' => $subject . '_id',
91 91
                 'referencedColumnName' => $targetEntityMetadata->fieldMappings['id']['columnName'],
92 92
                 'nullable' => false,
93 93
                 'onDelete' => 'CASCADE',
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Command/AbstractInstallCommand.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     }
47 47
 
48 48
     /**
49
-     * @param $id
49
+     * @param string $id
50 50
      *
51 51
      * @return object
52 52
      */
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     }
73 73
 
74 74
     /**
75
-     * @param array $headers
75
+     * @param string[] $headers
76 76
      * @param array $rows
77 77
      * @param OutputInterface $output
78 78
      */
@@ -144,9 +144,9 @@  discard block
 block discarded – undo
144 144
     /**
145 145
      * @param OutputInterface $output
146 146
      * @param string          $question
147
-     * @param array           $constraints
147
+     * @param \Symfony\Component\Validator\Constraints\NotBlank[]           $constraints
148 148
      *
149
-     * @return mixed
149
+     * @return string
150 150
      */
151 151
     protected function askHidden(OutputInterface $output, $question, array $constraints = [])
152 152
     {
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
      * @param array $constraints
160 160
      * @param mixed $default
161 161
      *
162
-     * @return mixed
162
+     * @return string
163 163
      */
164 164
     protected function ask(OutputInterface $output, $question, array $constraints = [], $default = null)
165 165
     {
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
     }
168 168
 
169 169
     /**
170
-     * @param mixed $value
170
+     * @param string $value
171 171
      * @param array $constraints
172 172
      *
173 173
      * @return bool
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
      * @param string          $default
196 196
      * @param bool         $hidden
197 197
      *
198
-     * @return mixed
198
+     * @return string
199 199
      */
200 200
     private function proceedAskRequest(OutputInterface $output, $question, array $constraints = [], $default = null, $hidden = false)
201 201
     {
Please login to merge, or discard this patch.