Completed
Push — remove-content-bundle ( 201341 )
by Kamil
34:43
created
src/Sylius/Behat/Page/Admin/PromotionCoupon/GeneratePageInterface.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -39,25 +39,32 @@
 block discarded – undo
39 39
      */
40 40
     public function checkGenerationValidation($message);
41 41
 
42
+    /**
43
+     * @return void
44
+     */
42 45
     public function generate();
43 46
 
44 47
     /**
45 48
      * @param int $amount
49
+     * @return void
46 50
      */
47 51
     public function specifyAmount($amount);
48 52
 
49 53
     /**
50 54
      * @param int $codeLength
55
+     * @return void
51 56
      */
52 57
     public function specifyCodeLength($codeLength);
53 58
 
54 59
     /**
55 60
      * @param \DateTime $date
61
+     * @return void
56 62
      */
57 63
     public function setExpiresAt(\DateTime $date);
58 64
 
59 65
     /**
60 66
      * @param int $limit
67
+     * @return void
61 68
      */
62 69
     public function setUsageLimit($limit);
63 70
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ShippingMethod/UpdatePageInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -23,7 +23,13 @@
 block discarded – undo
23 23
      */
24 24
     public function isCodeDisabled();
25 25
 
26
+    /**
27
+     * @return void
28
+     */
26 29
     public function enable();
27 30
 
31
+    /**
32
+     * @return void
33
+     */
28 34
     public function disable();
29 35
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Zone/CreatePageInterface.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -18,15 +18,20 @@  discard block
 block discarded – undo
18 18
  */
19 19
 interface CreatePageInterface extends BaseCreatePageInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function addMember();
22 25
 
23 26
     /**
24 27
      * @param string $message
28
+     * @return boolean
25 29
      */
26 30
     public function checkValidationMessageForMembers($message);
27 31
 
28 32
     /**
29 33
      * @param $name
34
+     * @return void
30 35
      */
31 36
     public function chooseMember($name);
32 37
 
@@ -44,11 +49,13 @@  discard block
 block discarded – undo
44 49
 
45 50
     /**
46 51
      * @param string $name
52
+     * @return void
47 53
      */
48 54
     public function nameIt($name);
49 55
 
50 56
     /**
51 57
      * @param string $code
58
+     * @return void
52 59
      */
53 60
     public function specifyCode($code);
54 61
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Page.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -243,7 +243,7 @@
 block discarded – undo
243 243
     }
244 244
 
245 245
     /**
246
-     * @param string|array $selector
246
+     * @param string $selector
247 247
      * @param SelectorsHandler $selectorsHandler
248 248
      *
249 249
      * @return string
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/LoginPageInterface.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -25,15 +25,20 @@
 block discarded – undo
25 25
      */
26 26
     public function hasValidationErrorWith($message);
27 27
 
28
+    /**
29
+     * @return void
30
+     */
28 31
     public function logIn();
29 32
 
30 33
     /**
31 34
      * @param string $password
35
+     * @return void
32 36
      */
33 37
     public function specifyPassword($password);
34 38
 
35 39
     /**
36 40
      * @param string $userName
41
+     * @return void
37 42
      */
38 43
     public function specifyUserName($userName);
39 44
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/ResetPasswordPageInterface.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/SymfonyPage.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use Behat\Mink\Element\NodeElement;
15 15
 use Behat\Mink\Session;
16
-use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
17
-use Symfony\Component\Routing\RequestContext;
18 16
 use Symfony\Component\Routing\RouterInterface;
19 17
 
20 18
 /**
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,8 +75,8 @@
 block discarded – undo
75 75
      */
76 76
     final protected function makePathAbsolute($path)
77 77
     {
78
-        $baseUrl = rtrim($this->getParameter('base_url'), '/').'/';
78
+        $baseUrl = rtrim($this->getParameter('base_url'), '/') . '/';
79 79
 
80
-        return 0 !== strpos($path, 'http') ? $baseUrl.ltrim($path, '/') : $path;
80
+        return 0 !== strpos($path, 'http') ? $baseUrl . ltrim($path, '/') : $path;
81 81
     }
82 82
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Service/Accessor/TableAccessor.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,8 +91,8 @@
 block discarded – undo
91 91
     }
92 92
 
93 93
     /**
94
-     * @param array $columns
95
-     * @param array $fields
94
+     * @param NodeElement[] $columns
95
+     * @param string[] $fields
96 96
      *
97 97
      * @return bool
98 98
      */
Please login to merge, or discard this patch.
src/Sylius/Behat/Service/Mocker/PaypalApiMocker.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
 
103 103
     /**
104 104
      * @param int $statusCode
105
-     * @param mixed $streamMock
105
+     * @param Mock $streamMock
106 106
      *
107 107
      * @return Mock
108 108
      */
Please login to merge, or discard this patch.