@@ -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 | { |
@@ -368,7 +368,7 @@ |
||
| 368 | 368 | */ |
| 369 | 369 | public function getMainTaxon() |
| 370 | 370 | { |
| 371 | - return $this->mainTaxon; |
|
| 371 | + return $this->mainTaxon; |
|
| 372 | 372 | } |
| 373 | 373 | |
| 374 | 374 | /** |
@@ -17,7 +17,6 @@ |
||
| 17 | 17 | use Sylius\Component\Core\Model\CustomerInterface; |
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | - |
|
| 21 | 20 | * @author Alexandre Bacco <[email protected]> |
| 22 | 21 | */ |
| 23 | 22 | class CustomerSpec extends ObjectBehavior |
@@ -163,7 +163,7 @@ |
||
| 163 | 163 | |
| 164 | 164 | function it_has_no_main_taxon_by_default() |
| 165 | 165 | { |
| 166 | - $this->getMainTaxon()->shouldReturn(null); |
|
| 166 | + $this->getMainTaxon()->shouldReturn(null); |
|
| 167 | 167 | } |
| 168 | 168 | |
| 169 | 169 | function it_sets_main_taxon(TaxonInterface $taxon) |
@@ -80,7 +80,7 @@ |
||
| 80 | 80 | */ |
| 81 | 81 | public function getCode() |
| 82 | 82 | { |
| 83 | - return $this->code; |
|
| 83 | + return $this->code; |
|
| 84 | 84 | } |
| 85 | 85 | |
| 86 | 86 | /** |
@@ -48,8 +48,8 @@ |
||
| 48 | 48 | |
| 49 | 49 | function its_payment_method_is_mutable(PaymentMethodInterface $method) |
| 50 | 50 | { |
| 51 | - $this->setMethod($method); |
|
| 52 | - $this->getMethod()->shouldReturn($method); |
|
| 51 | + $this->setMethod($method); |
|
| 52 | + $this->getMethod()->shouldReturn($method); |
|
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | function it_has_no_source_by_default() |
@@ -39,9 +39,9 @@ |
||
| 39 | 39 | public function getFunctions() |
| 40 | 40 | { |
| 41 | 41 | return array( |
| 42 | - new \Twig_SimpleFunction('sylius_settings_all', array($this, 'getSettings')), |
|
| 43 | - new \Twig_SimpleFunction('sylius_settings_get', array($this, 'getSettingsParameter')), |
|
| 44 | - new \Twig_SimpleFunction('sylius_settings_has', array($this, 'hasSettingsParameter')), |
|
| 42 | + new \Twig_SimpleFunction('sylius_settings_all', array($this, 'getSettings')), |
|
| 43 | + new \Twig_SimpleFunction('sylius_settings_get', array($this, 'getSettingsParameter')), |
|
| 44 | + new \Twig_SimpleFunction('sylius_settings_has', array($this, 'hasSettingsParameter')), |
|
| 45 | 45 | ); |
| 46 | 46 | } |
| 47 | 47 | |
@@ -521,9 +521,9 @@ |
||
| 521 | 521 | } |
| 522 | 522 | } |
| 523 | 523 | |
| 524 | - /** |
|
| 525 | - * @When /^I add option value "([^""]*)"$/ |
|
| 526 | - */ |
|
| 524 | + /** |
|
| 525 | + * @When /^I add option value "([^""]*)"$/ |
|
| 526 | + */ |
|
| 527 | 527 | public function iAddOptionValue($optionValue) |
| 528 | 528 | { |
| 529 | 529 | $newItem = $this->addNewItemToFormCollection($this->getSession()->getPage(), 'option_values'); |
@@ -244,7 +244,7 @@ |
||
| 244 | 244 | $func = 'get' . ucfirst($field); |
| 245 | 245 | |
| 246 | 246 | if (method_exists($element, $func)) { |
| 247 | - $content .= $element->$func() . self::SPACER; |
|
| 247 | + $content .= $element->$func() . self::SPACER; |
|
| 248 | 248 | } |
| 249 | 249 | } |
| 250 | 250 | |