Skip to content

Commit 78ae8c5

Browse files
committed
Fix index message not found error on transport
1 parent b397e2c commit 78ae8c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Transports/Transport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ protected function arrayGet(array $array, string $key)
250250
$exploded = explode('.', $key, 2);
251251

252252
if (!isset($exploded[1])) {
253-
return $array[$key];
253+
return $array[$key] ?? null;
254254
}
255255

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

0 commit comments

Comments
 (0)