diff --git a/src/Codegen/Generator.php b/src/Codegen/Generator.php index 4a1a843c..3b0936ce 100644 --- a/src/Codegen/Generator.php +++ b/src/Codegen/Generator.php @@ -194,6 +194,8 @@ protected function parsedDocuments(): array $parsed = static::parseDocuments($documents); - return static::validateDocuments($parsed); + static::validateDocuments($parsed); + + return $parsed; } }