@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Behat\Behat\Definition\Call\DefinitionCall; |
6 | 6 | use Behat\Behat\Transformation\Transformer\ArgumentTransformer; |
7 | -use rdx\behatvars\BehatVariablesContext; |
|
8 | 7 | use rdx\behatvars\BehatVariablesDatabase; |
9 | 8 | |
10 | 9 | class BehatVariablesArgumentTransformer implements ArgumentTransformer { |
@@ -39,7 +39,7 @@ |
||
39 | 39 | public function transformArgument(DefinitionCall $definitionCall, $argumentIndex, $argumentValue) { |
40 | 40 | $replacements = array(); |
41 | 41 | foreach ($this->matches as $match) { |
42 | - $replacements[ $match[0] ] = BehatVariablesDatabase::get($match[1]); |
|
42 | + $replacements[$match[0]] = BehatVariablesDatabase::get($match[1]); |
|
43 | 43 | } |
44 | 44 | |
45 | 45 | return strtr($argumentValue, $replacements); |