Completed
Push — master ( cfaf77...b5ed7c )
by Kamil
47:11 queued 29:42
created
src/Sylius/Behat/Page/Admin/Order/ShowPageInterface.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -22,6 +22,7 @@  discard block
 block discarded – undo
22 22
 {
23 23
     /**
24 24
      * @param string $customerName
25
+     * @return boolean
25 26
      */
26 27
     public function hasCustomer($customerName);
27 28
 
@@ -56,6 +57,7 @@  discard block
 block discarded – undo
56 57
 
57 58
     /**
58 59
      * @param string $code
60
+     * @return void
59 61
      */
60 62
     public function specifyTrackingCode($code);
61 63
 
@@ -68,6 +70,7 @@  discard block
 block discarded – undo
68 70
 
69 71
     /**
70 72
      * @param OrderInterface $order
73
+     * @return void
71 74
      */
72 75
     public function shipOrder(OrderInterface $order);
73 76
 
@@ -87,11 +90,13 @@  discard block
 block discarded – undo
87 90
 
88 91
     /**
89 92
      * @param OrderInterface $order
93
+     * @return void
90 94
      */
91 95
     public function completeOrderLastPayment(OrderInterface $order);
92 96
 
93 97
     /**
94 98
      * @param OrderInterface $order
99
+     * @return void
95 100
      */
96 101
     public function refundOrderLastPayment(OrderInterface $order);
97 102
 
@@ -234,8 +239,14 @@  discard block
 block discarded – undo
234 239
      */
235 240
     public function getPaymentState();
236 241
 
242
+    /**
243
+     * @return void
244
+     */
237 245
     public function cancelOrder();
238 246
 
247
+    /**
248
+     * @return void
249
+     */
239 250
     public function deleteOrder();
240 251
 
241 252
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/AddressBook/CreatePageInterface.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -63,12 +63,14 @@  discard block
 block discarded – undo
63 63
 
64 64
     /**
65 65
      * @param string $productName
66
+     * @return void
66 67
      */
67 68
     public function removeProduct($productName);
68 69
 
69 70
     /**
70 71
      * @param string $productName
71 72
      * @param int $quantity
73
+     * @return void
72 74
      */
73 75
     public function changeQuantity($productName, $quantity);
74 76
 
@@ -112,5 +114,8 @@  discard block
 block discarded – undo
112 114
      */
113 115
     public function getQuantity($productName);
114 116
 
117
+    /**
118
+     * @return void
119
+     */
115 120
     public function clearCart();
116 121
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/AddressBook/UpdatePageInterface.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -20,24 +20,31 @@
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @param string $title
23
+     * @return void
23 24
      */
24 25
     public function titleReview($title);
25 26
 
26 27
     /**
27 28
      * @param string $comment
29
+     * @return void
28 30
      */
29 31
     public function setComment($comment);
30 32
 
31 33
     /**
32 34
      * @param string $author
35
+     * @return void
33 36
      */
34 37
     public function setAuthor($author);
35 38
 
36 39
     /**
37 40
      * @param int $rate
41
+     * @return void
38 42
      */
39 43
     public function rateReview($rate);
40 44
 
45
+    /**
46
+     * @return void
47
+     */
41 48
     public function submitReview();
42 49
 
43 50
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Service/SharedStorageInterface.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,11 +33,12 @@  discard block
 block discarded – undo
33 33
     /**
34 34
      * @param string $key
35 35
      * @param mixed $resource
36
+     * @return void
36 37
      */
37 38
     public function set($key, $resource);
38 39
 
39 40
     /**
40
-     * @return mixed
41
+     * @return string
41 42
      */
42 43
     public function getLatestResource();
43 44
 
@@ -45,6 +46,7 @@  discard block
 block discarded – undo
45 46
      * @param array $clipboard
46 47
      *
47 48
      * @throws \RuntimeException
49
+     * @return void
48 50
      */
49 51
     public function setClipboard(array $clipboard);
50 52
 }
Please login to merge, or discard this patch.
ReviewBundle/DependencyInjection/Compiler/RegisterReviewFactoryPass.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,10 +27,10 @@
 block discarded – undo
27 27
     public function process(ContainerBuilder $container)
28 28
     {
29 29
         foreach ($container->getParameter('sylius.review.subjects') as $subject => $configuration) {
30
-            $factory = $container->findDefinition('sylius.factory.'.$subject.'_review');
30
+            $factory = $container->findDefinition('sylius.factory.' . $subject . '_review');
31 31
             $reviewFactoryDefinition = new Definition(ReviewFactory::class);
32 32
 
33
-            $reviewFactory = $container->setDefinition(sprintf('sylius.factory.'.$subject.'_review'), $reviewFactoryDefinition);
33
+            $reviewFactory = $container->setDefinition(sprintf('sylius.factory.' . $subject . '_review'), $reviewFactoryDefinition);
34 34
             $reviewFactory->addArgument($factory);
35 35
         }
36 36
     }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/AddressBook/UpdatePage.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      */
33 33
     public function fillField($field, $value)
34 34
     {
35
-        $field = $this->getElement(str_replace(' ', '_',strtolower($field)));
35
+        $field = $this->getElement(str_replace(' ', '_', strtolower($field)));
36 36
         $field->setValue($value);
37 37
     }
38 38
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
      */
97 97
     private function waitForElement($timeout, $elementName)
98 98
     {
99
-        $this->getDocument()->waitFor($timeout, function () use ($elementName){
99
+        $this->getDocument()->waitFor($timeout, function () use ($elementName) {
100 100
             return $this->hasElement($elementName);
101 101
         });
102 102
     }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/AddressBook/IndexPageInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -39,6 +39,7 @@  discard block
 block discarded – undo
39 39
      * Sets all option values.
40 40
      *
41 41
      * @param Collection $optionValues
42
+     * @return void
42 43
      */
43 44
     public function setValues(Collection $optionValues);
44 45
 
@@ -46,6 +47,7 @@  discard block
 block discarded – undo
46 47
      * Adds option value.
47 48
      *
48 49
      * @param OptionValueInterface $optionValue
50
+     * @return void
49 51
      */
50 52
     public function addValue(OptionValueInterface $optionValue);
51 53
 
@@ -53,6 +55,7 @@  discard block
 block discarded – undo
53 55
      * Removes option value.
54 56
      *
55 57
      * @param OptionValueInterface $optionValue
58
+     * @return void
56 59
      */
57 60
     public function removeValue(OptionValueInterface $optionValue);
58 61
 
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Customer/CustomerAddressAdderInterface.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/Admin/Taxon/CreatePageInterface.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -30,6 +30,7 @@  discard block
 block discarded – undo
30 30
 
31 31
     /**
32 32
      * @param string $name
33
+     * @return void
33 34
      */
34 35
     public function setName($name);
35 36
 
@@ -40,6 +41,7 @@  discard block
 block discarded – undo
40 41
 
41 42
     /**
42 43
      * @param string $description
44
+     * @return void
43 45
      */
44 46
     public function setDescription($description);
45 47
 
@@ -50,11 +52,13 @@  discard block
 block discarded – undo
50 52
 
51 53
     /**
52 54
      * @param PermissionInterface $permission
55
+     * @return void
53 56
      */
54 57
     public function addPermission(PermissionInterface $permission);
55 58
 
56 59
     /**
57 60
      * @param PermissionInterface $permission
61
+     * @return void
58 62
      */
59 63
     public function removePermission(PermissionInterface $permission);
60 64
 
@@ -72,6 +76,7 @@  discard block
 block discarded – undo
72 76
 
73 77
     /**
74 78
      * @param RoleInterface $role
79
+     * @return void
75 80
      */
76 81
     public function setParent(RoleInterface $role);
77 82
 
@@ -87,11 +92,13 @@  discard block
 block discarded – undo
87 92
 
88 93
     /**
89 94
      * @param RoleInterface $role
95
+     * @return void
90 96
      */
91 97
     public function addChild(RoleInterface $role);
92 98
 
93 99
     /**
94 100
      * @param RoleInterface $role
101
+     * @return void
95 102
      */
96 103
     public function removeChild(RoleInterface $role);
97 104
 
@@ -109,6 +116,7 @@  discard block
 block discarded – undo
109 116
 
110 117
     /**
111 118
      * @param int $left
119
+     * @return void
112 120
      */
113 121
     public function setLeft($left);
114 122
 
@@ -119,6 +127,7 @@  discard block
 block discarded – undo
119 127
 
120 128
     /**
121 129
      * @param int $right
130
+     * @return void
122 131
      */
123 132
     public function setRight($right);
124 133
 
@@ -129,6 +138,7 @@  discard block
 block discarded – undo
129 138
 
130 139
     /**
131 140
      * @param int $level
141
+     * @return void
132 142
      */
133 143
     public function setLevel($level);
134 144
 }
Please login to merge, or discard this patch.