@@ -25,7 +25,7 @@ public function __construct(
2525 'Property `%s` is not an instance of `%s`. ' ,
2626 // type name or class name
2727 \is_object ($ property ) ? \get_class ($ property ) : \gettype ($ property ),
28- Property::class
28+ Property::class,
2929 ));
3030 }
3131
@@ -64,7 +64,7 @@ private function renderType(array $schema): array
6464 if (!$ rf ->isEnum ()) {
6565 throw new DefinitionException (\sprintf (
6666 'Type `%s` must be a backed enum or class with properties. ' ,
67- $ this ->type instanceof Type ? $ this ->type ->value : $ this ->type
67+ $ this ->type instanceof Type ? $ this ->type ->value : $ this ->type ,
6868 ));
6969 }
7070
@@ -74,7 +74,7 @@ private function renderType(array $schema): array
7474 if (!$ rf ->isBacked ()) {
7575 throw new DefinitionException (\sprintf (
7676 'Type `%s` is not a backed enum. ' ,
77- $ this ->type instanceof Type ? $ this ->type ->value : $ this ->type
77+ $ this ->type instanceof Type ? $ this ->type ->value : $ this ->type ,
7878 ));
7979 }
8080
@@ -90,7 +90,7 @@ private function renderType(array $schema): array
9090 'bool ' => 'boolean ' ,
9191 default => throw new DefinitionException (\sprintf (
9292 'Type `%s` is not a backed enum. ' ,
93- $ this ->type instanceof Type ? $ this ->type ->value : $ this ->type
93+ $ this ->type instanceof Type ? $ this ->type ->value : $ this ->type ,
9494 )),
9595 };
9696
0 commit comments