Skip to content

Commit

Permalink
Fix: возвращаемого значения.
Browse files Browse the repository at this point in the history
  • Loading branch information
run-byte-run committed Apr 3, 2020
1 parent c8d83e0 commit 145642f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Stores/PayloadStoreManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function store(string $identifier, $job): void
public function get(string $identifier)
{
if (($serialized = $this->store->get($identifier)) === null) {
return [];
return null;
}

return unserialize($serialized);
Expand Down

0 comments on commit 145642f

Please sign in to comment.