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.
44
55The format is based on [ Keep a Changelog] [ keepachangelog ] and this project adheres to [ Semantic Versioning] [ semver ] .
66
7+ ### Fixed
8+
9+ - The "withHeader" method of the "\Spiral\RoadRunner\Jobs\Task\WritableHeadersInterface" interface expects the type "string|iterable", "int" is passed
10+
711## v5.12.0
812
913### Added
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ protected function failed($e): void
5353 $ attempts = $ this ->attempts ();
5454
5555 $ this ->task
56- ->withHeader ('attempts ' , $ attempts + 1 )
56+ ->withHeader ('attempts ' , ( string ) ++ $ attempts )
5757 ->fail ($ e ->getMessage ());
5858
5959 parent ::failed ($ e );
You can’t perform that action at this time.
0 commit comments