@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace frictionlessdata\datapackage\Validators; |
| 4 | 4 | |
| 5 | -use frictionlessdata\datapackage\Registry; |
|
| 6 | 5 | use frictionlessdata\datapackage\Utils; |
| 7 | 6 | use frictionlessdata\tableschema\SchemaValidator; |
| 8 | 7 | use frictionlessdata\tableschema\SchemaValidationError; |
@@ -313,9 +313,9 @@ |
||
| 313 | 313 | } |
| 314 | 314 | } |
| 315 | 315 | if(json_last_error()){ |
| 316 | - throw new Exceptions\DatapackageInvalidSourceException( |
|
| 317 | - json_last_error_msg().' when loading source: '.json_encode($source) |
|
| 318 | - ); |
|
| 316 | + throw new Exceptions\DatapackageInvalidSourceException( |
|
| 317 | + json_last_error_msg().' when loading source: '.json_encode($source) |
|
| 318 | + ); |
|
| 319 | 319 | } |
| 320 | 320 | } else { |
| 321 | 321 | throw new Exceptions\DatapackageInvalidSourceException( |