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