diff --git a/src/Validator/DocumentValidator.php b/src/Validator/DocumentValidator.php index 2bb629a..2a871c4 100644 --- a/src/Validator/DocumentValidator.php +++ b/src/Validator/DocumentValidator.php @@ -31,7 +31,7 @@ public function __construct(string $jsonSchema = null) if (is_null($jsonSchema)) { $schemaFile = realpath(__DIR__ . $this->defaultJsonSchemaFile); if (!file_exists($schemaFile)) { - throw new \LogicException("The default schema file cannot be found: ${schemaFile}"); + throw new \LogicException("The default schema file cannot be found: {$schemaFile}"); } $jsonSchema = file_get_contents($schemaFile); }