Skip to content

Commit 7f2b456

Browse files
committed
chore: Run PHP CS fixer
1 parent 16f970c commit 7f2b456

File tree

8 files changed

+4
-18
lines changed

8 files changed

+4
-18
lines changed

src/Basic/Driver.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,8 @@
1717
use Laudis\Neo4j\Contracts\DriverInterface;
1818
use Laudis\Neo4j\Databags\DriverConfiguration;
1919
use Laudis\Neo4j\Databags\SessionConfiguration;
20-
use Laudis\Neo4j\Databags\SummarizedResult;
2120
use Laudis\Neo4j\DriverFactory;
2221
use Laudis\Neo4j\Formatter\SummarizedResultFormatter;
23-
use Laudis\Neo4j\Types\CypherMap;
2422
use Psr\Http\Message\UriInterface;
2523

2624
final class Driver implements DriverInterface

src/Basic/Session.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
use Laudis\Neo4j\Databags\SummarizedResult;
2020
use Laudis\Neo4j\Databags\TransactionConfiguration;
2121
use Laudis\Neo4j\Types\CypherList;
22-
use Laudis\Neo4j\Types\CypherMap;
2322

2423
final class Session implements SessionInterface
2524
{

src/Bolt/BoltResult.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
namespace Laudis\Neo4j\Bolt;
1515

16-
use Laudis\Neo4j\Formatter\SummarizedResultFormatter;
1716
use function array_splice;
1817
use function count;
1918

@@ -22,6 +21,7 @@
2221
use function in_array;
2322

2423
use Iterator;
24+
use Laudis\Neo4j\Formatter\SummarizedResultFormatter;
2525

2626
/**
2727
* @psalm-import-type BoltCypherStats from SummarizedResultFormatter

src/Bolt/BoltUnmanagedTransaction.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
use Laudis\Neo4j\Exception\ClientException;
2525
use Laudis\Neo4j\Formatter\SummarizedResultFormatter;
2626
use Laudis\Neo4j\ParameterHelper;
27-
use Laudis\Neo4j\Types\AbstractCypherSequence;
2827
use Laudis\Neo4j\Types\CypherList;
2928

3029
use function microtime;

src/Client.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ final class Client implements ClientInterface
4343

4444
/**
4545
* @psalm-mutation-free
46-
*
47-
* @param DriverSetupManager $driverSetups
4846
*/
4947
public function __construct(
5048
private readonly DriverSetupManager $driverSetups,

src/ClientBuilder.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,9 @@
2323
use Laudis\Neo4j\Databags\DriverConfiguration;
2424
use Laudis\Neo4j\Databags\DriverSetup;
2525
use Laudis\Neo4j\Databags\SessionConfiguration;
26-
use Laudis\Neo4j\Databags\SummarizedResult;
2726
use Laudis\Neo4j\Databags\TransactionConfiguration;
2827
use Laudis\Neo4j\Exception\UnsupportedScheme;
2928
use Laudis\Neo4j\Formatter\SummarizedResultFormatter;
30-
use Laudis\Neo4j\Types\CypherMap;
3129
use Psr\Log\LoggerInterface;
3230

3331
/**
@@ -41,8 +39,6 @@ final class ClientBuilder
4139

4240
/**
4341
* @psalm-mutation-free
44-
*
45-
* @param DriverSetupManager $driverSetups
4642
*/
4743
public function __construct(
4844
/** @psalm-readonly */

src/Formatter/SummarizedResultFormatter.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,6 @@
4747

4848
use function microtime;
4949

50-
use Psr\Http\Message\RequestInterface;
51-
use Psr\Http\Message\ResponseInterface;
52-
use stdClass;
53-
use UnexpectedValueException;
54-
5550
/**
5651
* Decorates the result of the provided format with an extensive summary.
5752
*

src/ParameterHelper.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
use function count;
2121

2222
use DateInterval;
23+
use DateTime;
2324
use DateTimeInterface;
2425

2526
use function get_debug_type;
@@ -77,9 +78,9 @@ public static function asMap(iterable $iterable): CypherMap
7778
}
7879

7980
/**
80-
* @return iterable|scalar|stdClass|IStructure|null
81+
* @param DateTime|array|object|stdClass $value
8182
*
82-
* @param \DateTime|array|object|stdClass $value
83+
* @return iterable|scalar|stdClass|IStructure|null
8384
*/
8485
public static function asParameter(
8586
mixed $value,

0 commit comments

Comments
 (0)