Skip to content
This repository was archived by the owner on Dec 1, 2021. It is now read-only.

Commit 1ed8f77

Browse files
authored
Merge pull request #98 from Nyholm/patch-minor
Added return type annotation
2 parents 33f52f7 + ddb47b6 commit 1ed8f77

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Transaction/Transaction.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespace GraphAware\Neo4j\Client\Transaction;
1313

1414
use GraphAware\Common\Cypher\Statement;
15+
use GraphAware\Common\Result\Result;
1516
use GraphAware\Common\Transaction\TransactionInterface;
1617
use GraphAware\Neo4j\Client\Event\PostRunEvent;
1718
use GraphAware\Neo4j\Client\Event\PreRunEvent;
@@ -92,7 +93,7 @@ public function pushStack(StackInterface $stack)
9293
/**
9394
* @param StackInterface $stack
9495
*
95-
* @return mixed
96+
* @return ResultCollection|Result[]
9697
*/
9798
public function runStack(StackInterface $stack)
9899
{

0 commit comments

Comments
 (0)