Skip to content
Snippets Groups Projects
Commit 3ea22632 authored by Mateusz Charytoniuk's avatar Mateusz Charytoniuk
Browse files

fix: psalm

parent 72fd66b3
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
......@@ -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>
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment