@@ -47,7 +47,6 @@ |
||
| 47 | 47 | /** |
| 48 | 48 | * reads the YAML placeholder definitions and returns an associative array |
| 49 | 49 | * |
| 50 | - * @param type $config_files |
|
| 51 | 50 | * @todo use %paths.base% value |
| 52 | 51 | * @return array |
| 53 | 52 | */ |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | |
| 4 | 4 | use Symfony\Component\Yaml\Yaml; |
| 5 | 5 | use Ciandt\Behat\PlaceholdersExtension\Utils\PlaceholderUtils; |
| 6 | -use Ciandt\Behat\PlaceholdersExtension\PlaceholderContainer\PlaceholderContainer; |
|
| 7 | 6 | use Ciandt\Behat\PlaceholdersExtension\Exception\MissingSectionException; |
| 8 | 7 | use Ciandt\Behat\PlaceholdersExtension\Exception\UndefinedPlaceholderException; |
| 9 | 8 | use Exception; |
@@ -34,6 +34,9 @@ |
||
| 34 | 34 | return $string; |
| 35 | 35 | } |
| 36 | 36 | |
| 37 | + /** |
|
| 38 | + * @param PlaceholdersRepository $repository |
|
| 39 | + */ |
|
| 37 | 40 | public static function transformArgument($argument, $repository) { |
| 38 | 41 | if (is_string($argument)) { |
| 39 | 42 | return self::replaceStringPlaceholders($argument, $repository); |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | |
| 4 | 4 | namespace Ciandt\Behat\PlaceholdersExtension\Transformation; |
| 5 | 5 | |
| 6 | -use Behat\Behat\Definition\Call\DefinitionCall; |
|
| 7 | 6 | use Behat\Gherkin\Node\PyStringNode; |
| 8 | 7 | use Behat\Gherkin\Node\TableNode; |
| 9 | 8 | use Behat\Testwork\Call\RuntimeCallee; |