| @@ -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); | 
| @@ -100,25 +100,25 @@ | ||
| 100 | 100 | /** | 
| 101 | 101 |       * {@inheritdoc} | 
| 102 | 102 | */ | 
| 103 | - public function isNextStepButtonUnavailable() | |
| 104 | -     { | |
| 105 | -         return $this->getElement('next_step')->hasClass('disabled'); | |
| 106 | - } | |
| 103 | + public function isNextStepButtonUnavailable() | |
| 104 | +        { | |
| 105 | +            return $this->getElement('next_step')->hasClass('disabled'); | |
| 106 | + } | |
| 107 | 107 | |
| 108 | 108 | /** | 
| 109 | 109 |       * {@inheritdoc} | 
| 110 | 110 | */ | 
| 111 | - public function getPaymentMethods() | |
| 112 | -     { | |
| 113 | -         $inputs = $this->getSession()->getPage()->findAll('css', '#sylius-payment-methods .item .content label'); | |
| 111 | + public function getPaymentMethods() | |
| 112 | +        { | |
| 113 | +            $inputs = $this->getSession()->getPage()->findAll('css', '#sylius-payment-methods .item .content label'); | |
| 114 | 114 | |
| 115 | - $paymentMethods = []; | |
| 116 | -         foreach ($inputs as $input) { | |
| 117 | - $paymentMethods[] = trim($input->getText()); | |
| 118 | - } | |
| 115 | + $paymentMethods = []; | |
| 116 | +            foreach ($inputs as $input) { | |
| 117 | + $paymentMethods[] = trim($input->getText()); | |
| 118 | + } | |
| 119 | 119 | |
| 120 | - return $paymentMethods; | |
| 121 | - } | |
| 120 | + return $paymentMethods; | |
| 121 | + } | |
| 122 | 122 | |
| 123 | 123 | /** | 
| 124 | 124 |       * {@inheritdoc} | 
| @@ -41,7 +41,7 @@ discard block | ||
| 41 | 41 | 'translation' => [ | 
| 42 | 42 | 'classes' => [ | 
| 43 | 43 | 'model' => BookTranslation::class, | 
| 44 | - ], | |
| 44 | + ], | |
| 45 | 45 | ], | 
| 46 | 46 | ], | 
| 47 | 47 | ], | 
| @@ -75,13 +75,13 @@ discard block | ||
| 75 | 75 | public function it_registers_default_translation_parameters() | 
| 76 | 76 |      { | 
| 77 | 77 | // TODO: Move ResourceGrid integration to a dedicated compiler pass | 
| 78 | -         $this->setParameter('kernel.bundles', []); | |
| 78 | +            $this->setParameter('kernel.bundles', []); | |
| 79 | 79 | |
| 80 | 80 | $this->load([ | 
| 81 | - 'translation' => [ | |
| 82 | - 'locale_provider' => 'test.custom_locale_provider' | |
| 83 | - ] | |
| 84 | - ]); | |
| 81 | + 'translation' => [ | |
| 82 | + 'locale_provider' => 'test.custom_locale_provider' | |
| 83 | + ] | |
| 84 | + ]); | |
| 85 | 85 | |
| 86 | 86 |          $this->assertContainerBuilderHasAlias('sylius.translation_locale_provider', 'test.custom_locale_provider'); | 
| 87 | 87 | } | 
| @@ -76,7 +76,7 @@ | ||
| 76 | 76 |          $objects = $this->loadFixturesFromFile('books.yml'); | 
| 77 | 77 | |
| 78 | 78 | $data = | 
| 79 | - <<<EOT | |
| 79 | + <<<EOT | |
| 80 | 80 |          { | 
| 81 | 81 | "author": "Christie Golden" | 
| 82 | 82 | } | 
| @@ -85,7 +85,7 @@ | ||
| 85 | 85 |          $objects = $this->loadFixturesFromFile('comic_books.yml'); | 
| 86 | 86 | |
| 87 | 87 | $data = | 
| 88 | - <<<EOT | |
| 88 | + <<<EOT | |
| 89 | 89 |          { | 
| 90 | 90 | "authorFirstName": "Joe", | 
| 91 | 91 | "authorLastName": "Kelly" | 
| @@ -105,12 +105,12 @@ | ||
| 105 | 105 | } | 
| 106 | 106 | |
| 107 | 107 | /** | 
| 108 | - * @param ChannelInterface $channel | |
| 108 | + * @param ChannelInterface $channel | |
| 109 | 109 | * | 
| 110 | 110 | * @return string | 
| 111 | 111 | */ | 
| 112 | 112 | private function getChannelUrl(ChannelInterface $channel) | 
| 113 | 113 |      { | 
| 114 | - return '/api/v1/channels/' . $channel->getCode(); | |
| 114 | + return '/api/v1/channels/' . $channel->getCode(); | |
| 115 | 115 | } | 
| 116 | 116 | } | 
| @@ -50,8 +50,8 @@ | ||
| 50 | 50 | StateMachineInterface $secondOrderStateMachine | 
| 51 | 51 |      ) { | 
| 52 | 52 | $orderRepository->findOrdersUnpaidSince(Argument::type(\DateTimeInterface::class))->willReturn([ | 
| 53 | - $firstOrder, | |
| 54 | - $secondOrder | |
| 53 | + $firstOrder, | |
| 54 | + $secondOrder | |
| 55 | 55 | ]); | 
| 56 | 56 | |
| 57 | 57 | $stateMachineFactory->get($firstOrder, 'sylius_order')->willReturn($firstOrderStateMachine); | 
| @@ -39,8 +39,8 @@ | ||
| 39 | 39 | public function getFunctions(): array | 
| 40 | 40 |      { | 
| 41 | 41 | return [ | 
| 42 | -             new \Twig_Function('sylius_inventory_is_available', [$this->helper, 'isStockAvailable']), | |
| 43 | -             new \Twig_Function('sylius_inventory_is_sufficient', [$this->helper, 'isStockSufficient']), | |
| 42 | +                new \Twig_Function('sylius_inventory_is_available', [$this->helper, 'isStockAvailable']), | |
| 43 | +                new \Twig_Function('sylius_inventory_is_sufficient', [$this->helper, 'isStockSufficient']), | |
| 44 | 44 | ]; | 
| 45 | 45 | } | 
| 46 | 46 | } | 
| @@ -54,10 +54,10 @@ | ||
| 54 | 54 | /** | 
| 55 | 55 | * @return string|null | 
| 56 | 56 | */ | 
| 57 | - public function getRefreshToken(): ?string; | |
| 57 | + public function getRefreshToken(): ?string; | |
| 58 | 58 | |
| 59 | - /** | |
| 60 | - * @param string|null $refreshToken | |
| 61 | - */ | |
| 62 | - public function setRefreshToken(?string $refreshToken): void; | |
| 59 | + /** | |
| 60 | + * @param string|null $refreshToken | |
| 61 | + */ | |
| 62 | + public function setRefreshToken(?string $refreshToken): void; | |
| 63 | 63 | } |