@@ -180,7 +180,7 @@ |
||
180 | 180 | * Un-sets dot-notated key from an array |
181 | 181 | * |
182 | 182 | * @param array $array The search array |
183 | - * @param mixed $key The dot-notated key or array of keys |
|
183 | + * @param string $key The dot-notated key or array of keys |
|
184 | 184 | * @return mixed |
185 | 185 | * @since 0.1.0 |
186 | 186 | */ |
@@ -12,8 +12,8 @@ |
||
12 | 12 | |
13 | 13 | namespace Exen\Konfig; |
14 | 14 | |
15 | -use Exen\Konfig\Exception\Exception; |
|
16 | 15 | use Exen\Konfig\Exception\EmptyDirectoryException; |
16 | +use Exen\Konfig\Exception\Exception; |
|
17 | 17 | use Exen\Konfig\Exception\FileNotFoundException; |
18 | 18 | use Exen\Konfig\Exception\UnsupportedFileFormatException; |
19 | 19 |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | * Get the content of given file and returns the results. |
47 | 47 | * |
48 | 48 | * @param string $file The path to the file |
49 | - * @return mixed The results of the include |
|
49 | + * @return string The results of the include |
|
50 | 50 | * @codeCoverageIgnore |
51 | 51 | * @since 0.2.4 |
52 | 52 | */ |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | * will return the result of the closure, if not, it will simply return the |
74 | 74 | * value. |
75 | 75 | * |
76 | - * @param mixed $var The value to get |
|
76 | + * @param string|null $var The value to get |
|
77 | 77 | * @return mixed |
78 | 78 | * @since 0.1.0 |
79 | 79 | * @codeCoverageIgnore |
@@ -214,7 +214,7 @@ discard block |
||
214 | 214 | } |
215 | 215 | |
216 | 216 | /** |
217 | - * @param $callback |
|
217 | + * @param string $callback |
|
218 | 218 | * @param array $args |
219 | 219 | * @return void |
220 | 220 | * @since 0.2.4 |
@@ -12,9 +12,9 @@ |
||
12 | 12 | |
13 | 13 | namespace Exen\Konfig\FileParser; |
14 | 14 | |
15 | -use Exen\Konfig\Utils; |
|
16 | 15 | use Exen\Konfig\Exception\Exception; |
17 | 16 | use Exen\Konfig\Exception\ParseException; |
17 | +use Exen\Konfig\Utils; |
|
18 | 18 | |
19 | 19 | use Symfony\Component\Yaml\Yaml as YamlParser; |
20 | 20 |
@@ -12,7 +12,6 @@ |
||
12 | 12 | |
13 | 13 | namespace Exen\Konfig\FileParser; |
14 | 14 | |
15 | -use Exen\Konfig\Exception\Exception; |
|
16 | 15 | use Exen\Konfig\Exception\ParseException; |
17 | 16 | use Exen\Konfig\Utils; |
18 | 17 |