@@ -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} |
@@ -123,10 +123,10 @@ |
||
| 123 | 123 | } |
| 124 | 124 | |
| 125 | 125 | /** |
| 126 | - * @param Request $request |
|
| 127 | - * |
|
| 128 | - * @return string |
|
| 129 | - */ |
|
| 126 | + * @param Request $request |
|
| 127 | + * |
|
| 128 | + * @return string |
|
| 129 | + */ |
|
| 130 | 130 | private function getRequestedTransition(Request $request) |
| 131 | 131 | { |
| 132 | 132 | return $request->attributes->get('_sylius')['state_machine']['transition']; |
@@ -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 | } |