Skip to content

Commit

Permalink
Fix index message not found error on transport
Browse files Browse the repository at this point in the history
  • Loading branch information
ffouchier committed Dec 7, 2022
1 parent b397e2c commit 78ae8c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Transports/Transport.php
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ protected function arrayGet(array $array, string $key)
$exploded = explode('.', $key, 2);

if (!isset($exploded[1])) {
return $array[$key];
return $array[$key] ?? null;
}

return $this->arrayGet($array[$exploded[0]], $exploded[1]);
Expand Down

0 comments on commit 78ae8c5

Please sign in to comment.