File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -392,25 +392,21 @@ public function assertNoFailure(Response $response): void
392
392
393
393
try {
394
394
$ resetResponse = $ message ->send ()->getResponse ();
395
- } catch (\ Throwable $ e ) {
395
+ } catch (Throwable $ e ) {
396
396
$ this ->subscribedResults = [];
397
397
throw Neo4jException::fromBoltResponse ($ response );
398
398
}
399
399
400
400
$ this ->subscribedResults = [];
401
401
402
402
if ($ resetResponse ->signature === Signature::FAILURE ) {
403
- throw new Neo4jException ([
404
- Neo4jError::fromBoltResponse ($ resetResponse ),
405
- Neo4jError::fromBoltResponse ($ response ),
406
- ]);
403
+ throw new Neo4jException ([Neo4jError::fromBoltResponse ($ resetResponse ), Neo4jError::fromBoltResponse ($ response )]);
407
404
}
408
405
409
406
throw Neo4jException::fromBoltResponse ($ response );
410
407
}
411
408
}
412
409
413
-
414
410
/**
415
411
* Discard unconsumed results - sends DISCARD to server for each subscribed result.
416
412
*/
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ final class SummarizedResult extends CypherList
39
39
* @param iterable<mixed, CypherMap<OGMTypes>>|callable():Generator<mixed, CypherMap<OGMTypes>> $iterable
40
40
* @param list<string> $keys
41
41
*/
42
- public function __construct (?ResultSummary &$ summary , iterable |callable $ iterable = [], array $ keys =[])
42
+ public function __construct (?ResultSummary &$ summary , iterable |callable $ iterable = [], array $ keys = [])
43
43
{
44
44
parent ::__construct ($ iterable );
45
45
$ this ->summary = &$ summary ;
You can’t perform that action at this time.
0 commit comments