@@ -65,7 +65,7 @@ |
||
| 65 | 65 | $objects = $this->loadFixturesFromFile('books.yml'); |
| 66 | 66 | |
| 67 | 67 | $data = |
| 68 | - <<<EOT |
|
| 68 | + <<<EOT |
|
| 69 | 69 | { |
| 70 | 70 | "title": "Star Wars: Dark Disciple" |
| 71 | 71 | } |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | 'form' => [ |
| 49 | 49 | 'default' => BookTranslationType::class, |
| 50 | 50 | ], |
| 51 | - ], |
|
| 51 | + ], |
|
| 52 | 52 | ], |
| 53 | 53 | ], |
| 54 | 54 | ], |
@@ -200,7 +200,7 @@ |
||
| 200 | 200 | */ |
| 201 | 201 | public function iChangeExchangeRateTo($exchangeRate) |
| 202 | 202 | { |
| 203 | - $this->updatePage->changeExchangeRate($exchangeRate); |
|
| 203 | + $this->updatePage->changeExchangeRate($exchangeRate); |
|
| 204 | 204 | } |
| 205 | 205 | |
| 206 | 206 | /** |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | */ |
| 43 | 43 | protected function getCodeElement() |
| 44 | 44 | { |
| 45 | - return $this->getElement('code'); |
|
| 45 | + return $this->getElement('code'); |
|
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | function it_is_initializable() |
| 33 | 33 | { |
| 34 | 34 | $this->shouldHaveType('Sylius\Component\Inventory\Operator\BackordersHandler'); |
| 35 | - } |
|
| 35 | + } |
|
| 36 | 36 | |
| 37 | 37 | function it_implements_Sylius_inventory_backorders_handler_interface() |
| 38 | 38 | { |
@@ -151,7 +151,7 @@ |
||
| 151 | 151 | */ |
| 152 | 152 | public function theTypeFieldShouldBeDisabled() |
| 153 | 153 | { |
| 154 | - $currentPage = $this->currentPageResolver->getCurrentPageWithForm([$this->createPage, $this->updatePage]); |
|
| 154 | + $currentPage = $this->currentPageResolver->getCurrentPageWithForm([$this->createPage, $this->updatePage]); |
|
| 155 | 155 | |
| 156 | 156 | Assert::true( |
| 157 | 157 | $currentPage->isTypeDisabled(), |
@@ -82,7 +82,7 @@ |
||
| 82 | 82 | $this->summaryPage->open(); |
| 83 | 83 | |
| 84 | 84 | Assert::true( |
| 85 | - $this->summaryPage->isEmpty(), |
|
| 85 | + $this->summaryPage->isEmpty(), |
|
| 86 | 86 | 'There should appear information about empty cart, but it does not.' |
| 87 | 87 | ); |
| 88 | 88 | } |
@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | */ |
| 133 | 133 | public function hasItemNamed($name) |
| 134 | 134 | { |
| 135 | - return $this->hasItemWith($name, '.sylius-product-name'); |
|
| 135 | + return $this->hasItemWith($name, '.sylius-product-name'); |
|
| 136 | 136 | } |
| 137 | 137 | |
| 138 | 138 | /** |
@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | */ |
| 141 | 141 | public function hasItemWithVariantNamed($variantName) |
| 142 | 142 | { |
| 143 | - return $this->hasItemWith($variantName, '.sylius-product-variant-name'); |
|
| 143 | + return $this->hasItemWith($variantName, '.sylius-product-variant-name'); |
|
| 144 | 144 | } |
| 145 | 145 | |
| 146 | 146 | /** |
@@ -19,17 +19,25 @@ discard block |
||
| 19 | 19 | */ |
| 20 | 20 | interface UpdatePageInterface extends BaseUpdatePageInterface |
| 21 | 21 | { |
| 22 | + /** |
|
| 23 | + * @return void |
|
| 24 | + */ |
|
| 22 | 25 | public function enable(); |
| 23 | 26 | |
| 27 | + /** |
|
| 28 | + * @return void |
|
| 29 | + */ |
|
| 24 | 30 | public function disable(); |
| 25 | 31 | |
| 26 | 32 | /** |
| 27 | 33 | * @param string $themeName |
| 34 | + * @return void |
|
| 28 | 35 | */ |
| 29 | 36 | public function setTheme($themeName); |
| 30 | 37 | |
| 31 | 38 | /** |
| 32 | 39 | * @throws ElementNotFoundException |
| 40 | + * @return void |
|
| 33 | 41 | */ |
| 34 | 42 | public function unsetTheme(); |
| 35 | 43 | |
@@ -40,6 +48,7 @@ discard block |
||
| 40 | 48 | |
| 41 | 49 | /** |
| 42 | 50 | * @param string $language |
| 51 | + * @return void |
|
| 43 | 52 | */ |
| 44 | 53 | public function chooseLocale($language); |
| 45 | 54 | |
@@ -52,6 +61,7 @@ discard block |
||
| 52 | 61 | |
| 53 | 62 | /** |
| 54 | 63 | * @param string $currencyCode |
| 64 | + * @return void |
|
| 55 | 65 | */ |
| 56 | 66 | public function chooseCurrency($currencyCode); |
| 57 | 67 | |
@@ -64,6 +74,7 @@ discard block |
||
| 64 | 74 | |
| 65 | 75 | /** |
| 66 | 76 | * @param string $shippingMethod |
| 77 | + * @return void |
|
| 67 | 78 | */ |
| 68 | 79 | public function chooseShippingMethod($shippingMethod); |
| 69 | 80 | |
@@ -76,6 +87,7 @@ discard block |
||
| 76 | 87 | |
| 77 | 88 | /** |
| 78 | 89 | * @param string $paymentMethod |
| 90 | + * @return void |
|
| 79 | 91 | */ |
| 80 | 92 | public function choosePaymentMethod($paymentMethod); |
| 81 | 93 | |