@@ -23,7 +23,6 @@ |
||
23 | 23 | use Sylius\Component\Core\Model\AdminUserInterface; |
24 | 24 | use Sylius\Component\Core\Model\CustomerInterface; |
25 | 25 | use Sylius\Component\Core\Model\OrderInterface; |
26 | -use Sylius\Component\Core\OrderPaymentStates; |
|
27 | 26 | use Webmozart\Assert\Assert; |
28 | 27 | |
29 | 28 | /** |
@@ -30,6 +30,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
129 | 138 | |
130 | 139 | /** |
131 | 140 | * @param int $level |
141 | + * @return void |
|
132 | 142 | */ |
133 | 143 | public function setLevel($level); |
134 | 144 | } |
@@ -170,7 +170,7 @@ |
||
170 | 170 | interpolation: {stepWidth: 10, stepDelay: 30} |
171 | 171 | }); |
172 | 172 | })(jQuery); |
173 | -JS; |
|
173 | +js; |
|
174 | 174 | |
175 | 175 | $seleniumDriver->executeScript($script); |
176 | 176 | $this->getDocument()->waitFor(5, function () { |