@@ -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 | */ |
@@ -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 |