File tree Expand file tree Collapse file tree 4 files changed +1
-4
lines changed Expand file tree Collapse file tree 4 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ class V3 extends V2
2323 */
2424 public function init (...$ args ): array
2525 {
26- $ args [] = null ;
2726 return $ this ->hello (...$ args );
2827 }
2928
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ public function hello(...$args): array
2525 throw new PackException ('Wrong arguments count ' );
2626 }
2727
28- $ args [0 ]['routing ' ] = array_key_exists ('routing ' , $ args [0 ]) && is_array ($ args [0 ]['routing ' ]) ? (object )$ args [1 ] : null ;
28+ $ args [0 ]['routing ' ] = array_key_exists ('routing ' , $ args [0 ]) && is_array ($ args [0 ]['routing ' ]) ? (object )$ args [0 ][ ' routing ' ] : null ;
2929 $ this ->write ($ this ->packer ->pack (0x01 , $ args [0 ]));
3030
3131 $ signature = 0 ;
Original file line number Diff line number Diff line change @@ -60,7 +60,6 @@ public function testInitFail(V1 $cls)
6060
6161 $ this ->expectException (\Exception::class);
6262 $ this ->expectExceptionMessage ('some error message (Neo.ClientError.Statement.SyntaxError) ' );
63-
6463 $ cls ->init (\Bolt \helpers \Auth::basic ('user ' , 'password ' ));
6564 }
6665
Original file line number Diff line number Diff line change @@ -57,7 +57,6 @@ public function testHelloFail(V4_1 $cls)
5757
5858 $ this ->expectException (\Exception::class);
5959 $ this ->expectExceptionMessage ('some error message (Neo.ClientError.Statement.SyntaxError) ' );
60-
6160 $ cls ->hello (\Bolt \helpers \Auth::basic ('user ' , 'password ' ), []);
6261 }
6362
You can’t perform that action at this time.
0 commit comments