diff --git a/src/InputValidator.php b/src/InputValidator.php index 0fa3e56b5f2605c4278a73de19f743b67861620f..30127d8d85133f144dc0f1e7779e243d4b060852 100644 --- a/src/InputValidator.php +++ b/src/InputValidator.php @@ -47,7 +47,7 @@ abstract readonly class InputValidator $jsonSchemaValidationResult = $this->jsonSchemaValidator->validate($this->jsonSchema, $data); } catch (ParseException $parseException) { throw new LogicException(sprintf( - 'JSON schema is invalid in: "%s" "%s"', + 'JSON schema is invalid in: "%s"', $this::class, ), 0, $parseException); } diff --git a/src/InputValidator/FrontMatterValidator.php b/src/InputValidator/FrontMatterValidator.php index 394cc3ba1b3b5155fbd65e26d5df49071f3d8131..bd250518afb5174548059c9d37115613364b8bc3 100644 --- a/src/InputValidator/FrontMatterValidator.php +++ b/src/InputValidator/FrontMatterValidator.php @@ -121,7 +121,7 @@ readonly class FrontMatterValidator extends InputValidator } /** - * @param array<array{ name: string, next: string }|string> $collections + * @param array<object{ name: string, next: string }|string> $collections * * @return Generator<FrontMatterCollectionReference> */