@@ -10,7 +10,6 @@ |
||
10 | 10 | |
11 | 11 | /** |
12 | 12 | * Transforms a single argument value. |
13 | - |
|
14 | 13 | */ |
15 | 14 | class PlaceholdersTransformer implements ArgumentTransformer |
16 | 15 | { |
@@ -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 | */ |
@@ -71,7 +71,7 @@ |
||
71 | 71 | |
72 | 72 | private function getFilePath($key) |
73 | 73 | { |
74 | - if (key_exists($key, $this->configs)) { |
|
74 | + if (key_exists($key, $this->configs)) { |
|
75 | 75 | return $this->configs[$key]['path']; |
76 | 76 | } |
77 | 77 | return null; |
@@ -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); |
@@ -14,7 +14,7 @@ |
||
14 | 14 | /** |
15 | 15 | * |
16 | 16 | */ |
17 | - class RuntimePlaceholdersTransformation extends RuntimeCallee implements PlaceholdersTransformation { |
|
17 | + class RuntimePlaceholdersTransformation extends RuntimeCallee implements PlaceholdersTransformation { |
|
18 | 18 | |
19 | 19 | public function __toString() { |
20 | 20 | return 'UserDefinedPlaceholderTransform'; |