File tree Expand file tree Collapse file tree 8 files changed +4
-18
lines changed Expand file tree Collapse file tree 8 files changed +4
-18
lines changed Original file line number Diff line number Diff line change 17
17
use Laudis \Neo4j \Contracts \DriverInterface ;
18
18
use Laudis \Neo4j \Databags \DriverConfiguration ;
19
19
use Laudis \Neo4j \Databags \SessionConfiguration ;
20
- use Laudis \Neo4j \Databags \SummarizedResult ;
21
20
use Laudis \Neo4j \DriverFactory ;
22
21
use Laudis \Neo4j \Formatter \SummarizedResultFormatter ;
23
- use Laudis \Neo4j \Types \CypherMap ;
24
22
use Psr \Http \Message \UriInterface ;
25
23
26
24
final class Driver implements DriverInterface
Original file line number Diff line number Diff line change 19
19
use Laudis \Neo4j \Databags \SummarizedResult ;
20
20
use Laudis \Neo4j \Databags \TransactionConfiguration ;
21
21
use Laudis \Neo4j \Types \CypherList ;
22
- use Laudis \Neo4j \Types \CypherMap ;
23
22
24
23
final class Session implements SessionInterface
25
24
{
Original file line number Diff line number Diff line change 13
13
14
14
namespace Laudis \Neo4j \Bolt ;
15
15
16
- use Laudis \Neo4j \Formatter \SummarizedResultFormatter ;
17
16
use function array_splice ;
18
17
use function count ;
19
18
22
21
use function in_array ;
23
22
24
23
use Iterator ;
24
+ use Laudis \Neo4j \Formatter \SummarizedResultFormatter ;
25
25
26
26
/**
27
27
* @psalm-import-type BoltCypherStats from SummarizedResultFormatter
Original file line number Diff line number Diff line change 24
24
use Laudis \Neo4j \Exception \ClientException ;
25
25
use Laudis \Neo4j \Formatter \SummarizedResultFormatter ;
26
26
use Laudis \Neo4j \ParameterHelper ;
27
- use Laudis \Neo4j \Types \AbstractCypherSequence ;
28
27
use Laudis \Neo4j \Types \CypherList ;
29
28
30
29
use function microtime ;
Original file line number Diff line number Diff line change @@ -43,8 +43,6 @@ final class Client implements ClientInterface
43
43
44
44
/**
45
45
* @psalm-mutation-free
46
- *
47
- * @param DriverSetupManager $driverSetups
48
46
*/
49
47
public function __construct (
50
48
private readonly DriverSetupManager $ driverSetups ,
Original file line number Diff line number Diff line change 23
23
use Laudis \Neo4j \Databags \DriverConfiguration ;
24
24
use Laudis \Neo4j \Databags \DriverSetup ;
25
25
use Laudis \Neo4j \Databags \SessionConfiguration ;
26
- use Laudis \Neo4j \Databags \SummarizedResult ;
27
26
use Laudis \Neo4j \Databags \TransactionConfiguration ;
28
27
use Laudis \Neo4j \Exception \UnsupportedScheme ;
29
28
use Laudis \Neo4j \Formatter \SummarizedResultFormatter ;
30
- use Laudis \Neo4j \Types \CypherMap ;
31
29
use Psr \Log \LoggerInterface ;
32
30
33
31
/**
@@ -41,8 +39,6 @@ final class ClientBuilder
41
39
42
40
/**
43
41
* @psalm-mutation-free
44
- *
45
- * @param DriverSetupManager $driverSetups
46
42
*/
47
43
public function __construct (
48
44
/** @psalm-readonly */
Original file line number Diff line number Diff line change 47
47
48
48
use function microtime ;
49
49
50
- use Psr \Http \Message \RequestInterface ;
51
- use Psr \Http \Message \ResponseInterface ;
52
- use stdClass ;
53
- use UnexpectedValueException ;
54
-
55
50
/**
56
51
* Decorates the result of the provided format with an extensive summary.
57
52
*
Original file line number Diff line number Diff line change 20
20
use function count ;
21
21
22
22
use DateInterval ;
23
+ use DateTime ;
23
24
use DateTimeInterface ;
24
25
25
26
use function get_debug_type ;
@@ -77,9 +78,9 @@ public static function asMap(iterable $iterable): CypherMap
77
78
}
78
79
79
80
/**
80
- * @return iterable|scalar|stdClass|IStructure|null
81
+ * @param DateTime|array|object|stdClass $value
81
82
*
82
- * @param \DateTime|array|object| stdClass $value
83
+ * @return iterable|scalar| stdClass|IStructure|null
83
84
*/
84
85
public static function asParameter (
85
86
mixed $ value ,
You can’t perform that action at this time.
0 commit comments