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 8dcbbb9 commit 263b7f3Copy full SHA for 263b7f3
protocol/V4_1.php
@@ -29,7 +29,7 @@ public function hello(...$args): bool
29
'scheme' => $args[1],
30
'principal' => $args[2],
31
'credentials' => $args[3],
32
- 'routing' => (object)($args[4] ?? [])
+ 'routing' => !empty($args[4]) ? (object)$args[4] : null
33
]);
34
} catch (Exception $ex) {
35
Bolt::error($ex->getMessage());
0 commit comments