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
392392
393393 try {
394394 $ resetResponse = $ message ->send ()->getResponse ();
395- } catch (\ Throwable $ e ) {
395+ } catch (Throwable $ e ) {
396396 $ this ->subscribedResults = [];
397397 throw Neo4jException::fromBoltResponse ($ response );
398398 }
399399
400400 $ this ->subscribedResults = [];
401401
402402 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 )]);
407404 }
408405
409406 throw Neo4jException::fromBoltResponse ($ response );
410407 }
411408 }
412409
413-
414410 /**
415411 * Discard unconsumed results - sends DISCARD to server for each subscribed result.
416412 */
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ final class SummarizedResult extends CypherList
3939 * @param iterable<mixed, CypherMap<OGMTypes>>|callable():Generator<mixed, CypherMap<OGMTypes>> $iterable
4040 * @param list<string> $keys
4141 */
42- public function __construct (?ResultSummary &$ summary , iterable |callable $ iterable = [], array $ keys =[])
42+ public function __construct (?ResultSummary &$ summary , iterable |callable $ iterable = [], array $ keys = [])
4343 {
4444 parent ::__construct ($ iterable );
4545 $ this ->summary = &$ summary ;
You can’t perform that action at this time.
0 commit comments