@@ -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 |
@@ -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 |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | /** |
70 | 70 | * {@inheritdoc} |
71 | 71 | * |
72 | - * @return array Supported extensions |
|
72 | + * @return string[] Supported extensions |
|
73 | 73 | * |
74 | 74 | * @since 0.1.0 |
75 | 75 | */ |
@@ -260,7 +260,7 @@ discard block |
||
260 | 260 | /** |
261 | 261 | * Loads in the given file and parses it. |
262 | 262 | * |
263 | - * @param string|bool|null $file File to load |
|
263 | + * @param string|boolean $file File to load |
|
264 | 264 | * |
265 | 265 | * @return array The parsed file data |
266 | 266 | * |
@@ -69,7 +69,7 @@ |
||
69 | 69 | /** |
70 | 70 | * {@inheritdoc} |
71 | 71 | * |
72 | - * @return array Supported extensions |
|
72 | + * @return string[] Supported extensions |
|
73 | 73 | * |
74 | 74 | * @since 0.1.0 |
75 | 75 | */ |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | * |
37 | 37 | * @param string $file The path to the file |
38 | 38 | * |
39 | - * @return mixed The results of the include |
|
39 | + * @return string The results of the include |
|
40 | 40 | * @since 0.2.4 |
41 | 41 | * @codeCoverageIgnore |
42 | 42 | */ |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | * will return the result of the closure, if not, it will simply return the |
65 | 65 | * value. |
66 | 66 | * |
67 | - * @param mixed $var The value to get |
|
67 | + * @param string|null $var The value to get |
|
68 | 68 | * |
69 | 69 | * @return mixed |
70 | 70 | * @since 0.1.0 |
@@ -69,7 +69,7 @@ |
||
69 | 69 | /** |
70 | 70 | * {@inheritdoc} |
71 | 71 | * |
72 | - * @return array Supported extensions |
|
72 | + * @return string[] Supported extensions |
|
73 | 73 | * |
74 | 74 | * @since 0.1.0 |
75 | 75 | */ |
@@ -69,7 +69,7 @@ |
||
69 | 69 | /** |
70 | 70 | * {@inheritdoc} |
71 | 71 | * |
72 | - * @return array Supported extensions |
|
72 | + * @return string[] Supported extensions |
|
73 | 73 | * |
74 | 74 | * @since 0.1.0 |
75 | 75 | */ |
@@ -69,7 +69,7 @@ |
||
69 | 69 | /** |
70 | 70 | * {@inheritdoc} |
71 | 71 | * |
72 | - * @return array Supported extensions |
|
72 | + * @return string[] Supported extensions |
|
73 | 73 | * |
74 | 74 | * @since 0.1.0 |
75 | 75 | */ |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | /** |
70 | 70 | * {@inheritdoc} |
71 | 71 | * |
72 | - * @return array Supported extensions |
|
72 | + * @return string[] Supported extensions |
|
73 | 73 | * |
74 | 74 | * @since 0.1.0 |
75 | 75 | */ |
@@ -256,7 +256,7 @@ discard block |
||
256 | 256 | /** |
257 | 257 | * Loads in the given file and parses it. |
258 | 258 | * |
259 | - * @param string|bool|null $file File to load |
|
259 | + * @param string $file File to load |
|
260 | 260 | * |
261 | 261 | * @return array The parsed file data |
262 | 262 | * |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | /** |
72 | 72 | * {@inheritdoc} |
73 | 73 | * |
74 | - * @return array Supported extensions |
|
74 | + * @return string[] Supported extensions |
|
75 | 75 | * |
76 | 76 | * @since 0.1.0 |
77 | 77 | */ |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | * |
86 | 86 | * @param string $file File to load |
87 | 87 | * |
88 | - * @return array|SimpleXMLElement The parsed file data |
|
88 | + * @return \SimpleXMLElement The parsed file data |
|
89 | 89 | * |
90 | 90 | * @since 0.2.4 |
91 | 91 | * @codeCoverageIgnore |