@@ -199,6 +199,7 @@ |
||
| 199 | 199 | |
| 200 | 200 | /** |
| 201 | 201 | * {@inheritdoc} |
| 202 | + * @param string $name |
|
| 202 | 203 | */ |
| 203 | 204 | protected function getElement($name, array $parameters = []) |
| 204 | 205 | { |
@@ -11,7 +11,6 @@ |
||
| 11 | 11 | |
| 12 | 12 | namespace Sylius\Behat\Page\Admin\Promotion; |
| 13 | 13 | |
| 14 | -use Behat\Mink\Driver\Selenium2Driver; |
|
| 15 | 14 | use Behat\Mink\Element\NodeElement; |
| 16 | 15 | use Behat\Mink\Exception\ElementNotFoundException; |
| 17 | 16 | use Sylius\Behat\Behaviour\NamesIt; |
@@ -145,7 +145,7 @@ |
||
| 145 | 145 | 'translation.name LIKE :phrase', |
| 146 | 146 | 'o.code LIKE :phrase' |
| 147 | 147 | )) |
| 148 | - ->setParameter('phrase', '%'.$phrase.'%') |
|
| 148 | + ->setParameter('phrase', '%' . $phrase . '%') |
|
| 149 | 149 | ->setParameter('locale', $locale) |
| 150 | 150 | ->setParameter('productCode', $productCode) |
| 151 | 151 | ->getQuery() |