@@ -52,10 +52,10 @@ |
||
52 | 52 | /** |
53 | 53 | * @return string |
54 | 54 | */ |
55 | - public function getRefreshToken(); |
|
55 | + public function getRefreshToken(); |
|
56 | 56 | |
57 | - /** |
|
58 | - * @param string $refreshToken |
|
59 | - */ |
|
60 | - public function setRefreshToken($refreshToken); |
|
57 | + /** |
|
58 | + * @param string $refreshToken |
|
59 | + */ |
|
60 | + public function setRefreshToken($refreshToken); |
|
61 | 61 | } |
@@ -52,8 +52,8 @@ |
||
52 | 52 | StateMachineInterface $secondOrderStateMachine |
53 | 53 | ) { |
54 | 54 | $orderRepository->findOrdersUnpaidSince(Argument::type(\DateTime::class))->willReturn([ |
55 | - $firstOrder, |
|
56 | - $secondOrder |
|
55 | + $firstOrder, |
|
56 | + $secondOrder |
|
57 | 57 | ]); |
58 | 58 | |
59 | 59 | $stateMachineFactory->get($firstOrder, 'sylius_order')->willReturn($firstOrderStateMachine); |
@@ -234,7 +234,7 @@ |
||
234 | 234 | */ |
235 | 235 | public function iShouldBeNotifiedThatThisProductDoesNotHaveSufficientStock(ProductInterface $product) |
236 | 236 | { |
237 | - $this->showPage->waitForValidationErrors(3); |
|
237 | + $this->showPage->waitForValidationErrors(3); |
|
238 | 238 | |
239 | 239 | Assert::true( |
240 | 240 | $this->showPage->hasProductOutOfStockValidationMessage($product), |
@@ -1261,7 +1261,7 @@ |
||
1261 | 1261 | { |
1262 | 1262 | Assert::true( |
1263 | 1263 | $this->selectPaymentPage->isNextStepButtonUnavailable(), |
1264 | - 'The "next step" button should be disabled.' |
|
1264 | + 'The "next step" button should be disabled.' |
|
1265 | 1265 | ); |
1266 | 1266 | } |
1267 | 1267 |
@@ -38,7 +38,7 @@ |
||
38 | 38 | public function getFunctions() |
39 | 39 | { |
40 | 40 | return [ |
41 | - new \Twig_SimpleFunction('sylius_cart_get', [$this, 'getCurrentCart']), |
|
41 | + new \Twig_SimpleFunction('sylius_cart_get', [$this, 'getCurrentCart']), |
|
42 | 42 | ]; |
43 | 43 | } |
44 | 44 |
@@ -37,8 +37,8 @@ |
||
37 | 37 | public function getFunctions() |
38 | 38 | { |
39 | 39 | return [ |
40 | - new \Twig_SimpleFunction('sylius_inventory_is_available', [$this->helper, 'isStockAvailable']), |
|
41 | - new \Twig_SimpleFunction('sylius_inventory_is_sufficient', [$this->helper, 'isStockSufficient']), |
|
40 | + new \Twig_SimpleFunction('sylius_inventory_is_available', [$this->helper, 'isStockAvailable']), |
|
41 | + new \Twig_SimpleFunction('sylius_inventory_is_sufficient', [$this->helper, 'isStockSufficient']), |
|
42 | 42 | ]; |
43 | 43 | } |
44 | 44 |
@@ -969,7 +969,7 @@ discard block |
||
969 | 969 | ], |
970 | 970 | ]; |
971 | 971 | $routeFactory->createRoute('/products/new', $createDefaults, [], [], '', [], ['GET', 'POST']) |
972 | - ->willReturn($createRoute); |
|
972 | + ->willReturn($createRoute); |
|
973 | 973 | $routeCollection->add('sylius_product_create', $createRoute)->shouldBeCalled(); |
974 | 974 | |
975 | 975 | $updateDefaults = [ |
@@ -979,7 +979,7 @@ discard block |
||
979 | 979 | ], |
980 | 980 | ]; |
981 | 981 | $routeFactory->createRoute('/products/{id}/edit', $updateDefaults, [], [], '', [], ['GET', 'PUT', 'PATCH']) |
982 | - ->willReturn($updateRoute); |
|
982 | + ->willReturn($updateRoute); |
|
983 | 983 | $routeCollection->add('sylius_product_update', $updateRoute)->shouldBeCalled(); |
984 | 984 | |
985 | 985 | $deleteDefaults = [ |
@@ -989,7 +989,7 @@ discard block |
||
989 | 989 | ], |
990 | 990 | ]; |
991 | 991 | $routeFactory->createRoute('/products/{id}', $deleteDefaults, [], [], '', [], ['DELETE']) |
992 | - ->willReturn($deleteRoute); |
|
992 | + ->willReturn($deleteRoute); |
|
993 | 993 | $routeCollection->add('sylius_product_delete', $deleteRoute)->shouldBeCalled(); |
994 | 994 | |
995 | 995 | $this->load($configuration, 'sylius.resource')->shouldReturn($routeCollection); |
@@ -49,7 +49,7 @@ |
||
49 | 49 | { |
50 | 50 | foreach ($variant->getOptionValues() as $option) { |
51 | 51 | if (!$existingVariant->hasOptionValue($option)) { |
52 | - return false; |
|
52 | + return false; |
|
53 | 53 | } |
54 | 54 | } |
55 | 55 |
@@ -98,7 +98,7 @@ |
||
98 | 98 | ->scalarNode('factory')->defaultValue(Factory::class)->end() |
99 | 99 | ->end() |
100 | 100 | ->end() |
101 | - ->end() |
|
101 | + ->end() |
|
102 | 102 | ->end() |
103 | 103 | ->end() |
104 | 104 | ->end() |