File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
55and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
66
7+ ## [ 9.1.1] - 2022.05.09
8+ ### Fixed
9+ - Return type for ::toSchema cannot be nullable
10+
711## [ 9.1.0] - 2022.05.05
812### Added
913- Added support for non string enums (no constant for enum value is generated in this case)
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ protected function generateMap(Field $root): ClassMethod
173173 ->makePublic ()
174174 ->addParam ($ payloadParam )
175175 ->addStmts ($ statements )
176- ->setReturnType ($ root ->getPhpTypeHint (), $ root -> isNullable () )
176+ ->setReturnType ($ root ->getPhpTypeHint ())
177177 ->composeDocBlock (
178178 [$ payloadParam ],
179179 $ root ->getPhpDocType (false ),
You can’t perform that action at this time.
0 commit comments