@@ -124,7 +124,7 @@ |
||
| 124 | 124 | * |
| 125 | 125 | * @param string $extension |
| 126 | 126 | * |
| 127 | - * @return Noodlehaus\Parser\ParserInterface |
|
| 127 | + * @return string |
|
| 128 | 128 | * |
| 129 | 129 | * @throws UnsupportedFormatException If `$extension` is an unsupported file format |
| 130 | 130 | */ |
@@ -2,10 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Noodlehaus; |
| 4 | 4 | |
| 5 | +use Noodlehaus\Exception\EmptyDirectoryException; |
|
| 5 | 6 | use Noodlehaus\Exception\FileNotFoundException; |
| 6 | 7 | use Noodlehaus\Exception\UnsupportedFormatException; |
| 7 | -use Noodlehaus\Exception\EmptyDirectoryException; |
|
| 8 | -use InvalidArgumentException; |
|
| 9 | 8 | use Noodlehaus\Parser\ParserInterface; |
| 10 | 9 | |
| 11 | 10 | /** |
@@ -3,8 +3,8 @@ |
||
| 3 | 3 | namespace Noodlehaus\Parser; |
| 4 | 4 | |
| 5 | 5 | use Exception; |
| 6 | -use Symfony\Component\Yaml\Yaml as YamlParser; |
|
| 7 | 6 | use Noodlehaus\Exception\ParseException; |
| 7 | +use Symfony\Component\Yaml\Yaml as YamlParser; |
|
| 8 | 8 | |
| 9 | 9 | /** |
| 10 | 10 | * YAML parser |