File tree 2 files changed +5
-1
lines changed
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.
4
4
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
5
5
and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
6
6
7
+ ## [ 9.1.1] - 2022.05.09
8
+ ### Fixed
9
+ - Return type for ::toSchema cannot be nullable
10
+
7
11
## [ 9.1.0] - 2022.05.05
8
12
### Added
9
13
- 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
173
173
->makePublic ()
174
174
->addParam ($ payloadParam )
175
175
->addStmts ($ statements )
176
- ->setReturnType ($ root ->getPhpTypeHint (), $ root -> isNullable () )
176
+ ->setReturnType ($ root ->getPhpTypeHint ())
177
177
->composeDocBlock (
178
178
[$ payloadParam ],
179
179
$ root ->getPhpDocType (false ),
You can’t perform that action at this time.
0 commit comments