We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50372be commit 7179952Copy full SHA for 7179952
src/Job.php
@@ -38,7 +38,7 @@ public function getMaxAttempts(): int
38
39
public function uncompress(): static
40
{
41
- foreach ($this as $key => $value) {
+ foreach (get_object_vars($this) as $key => $value) {
42
if ($value instanceof UnCompressInterface) {
43
$this->{$key} = $value->uncompress();
44
}
@@ -49,7 +49,7 @@ public function uncompress(): static
49
50
public function compress(): static
51
52
53
if ($value instanceof CompressInterface) {
54
$this->{$key} = $value->compress();
55
0 commit comments