@@ -17,7 +17,6 @@ |
||
| 17 | 17 | |
| 18 | 18 | use NFePHP\eSocial\Common\Factory; |
| 19 | 19 | use NFePHP\eSocial\Common\FactoryInterface; |
| 20 | -use NFePHP\eSocial\Common\FactoryId; |
|
| 21 | 20 | use NFePHP\Common\Certificate; |
| 22 | 21 | use stdClass; |
| 23 | 22 | |
@@ -17,7 +17,6 @@ |
||
| 17 | 17 | |
| 18 | 18 | use NFePHP\eSocial\Common\Factory; |
| 19 | 19 | use NFePHP\eSocial\Common\FactoryInterface; |
| 20 | -use NFePHP\eSocial\Common\FactoryId; |
|
| 21 | 20 | use NFePHP\Common\Certificate; |
| 22 | 21 | use stdClass; |
| 23 | 22 | |
@@ -216,7 +216,7 @@ |
||
| 216 | 216 | return true; |
| 217 | 217 | } |
| 218 | 218 | $validator = new JsonValid(); |
| 219 | - $validator->check($data, (object)['$ref' => 'file://' . $this->jsonschema]); |
|
| 219 | + $validator->check($data, (object) ['$ref' => 'file://' . $this->jsonschema]); |
|
| 220 | 220 | if (!$validator->isValid()) { |
| 221 | 221 | $msg = "JSON does not validate. Violations:\n"; |
| 222 | 222 | foreach ($validator->getErrors() as $error) { |