Skip to content

Commit 43a3a3f

Browse files
committed
ran php cs fixer
1 parent b65188e commit 43a3a3f

File tree

13 files changed

+15
-14
lines changed

13 files changed

+15
-14
lines changed

src/Authentication/BasicAuth.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,17 @@
1313

1414
namespace Laudis\Neo4j\Authentication;
1515

16-
use Laudis\Neo4j\Common\ResponseHelper;
1716
use function base64_encode;
1817

19-
use Bolt\enum\Signature;
2018
use Bolt\protocol\V4_4;
2119
use Bolt\protocol\V5;
2220
use Bolt\protocol\V5_1;
2321
use Bolt\protocol\V5_2;
2422
use Bolt\protocol\V5_3;
2523
use Bolt\protocol\V5_4;
2624
use Exception;
25+
use Laudis\Neo4j\Common\ResponseHelper;
2726
use Laudis\Neo4j\Contracts\AuthenticateInterface;
28-
use Laudis\Neo4j\Exception\Neo4jException;
2927
use Psr\Http\Message\RequestInterface;
3028
use Psr\Http\Message\UriInterface;
3129

src/Authentication/NoAuth.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
namespace Laudis\Neo4j\Authentication;
1515

16-
use Bolt\enum\Signature;
1716
use Bolt\protocol\V4_4;
1817
use Bolt\protocol\V5;
1918
use Bolt\protocol\V5_1;
@@ -22,7 +21,6 @@
2221
use Bolt\protocol\V5_4;
2322
use Laudis\Neo4j\Common\ResponseHelper;
2423
use Laudis\Neo4j\Contracts\AuthenticateInterface;
25-
use Laudis\Neo4j\Exception\Neo4jException;
2624
use Psr\Http\Message\RequestInterface;
2725
use Psr\Http\Message\UriInterface;
2826

src/Authentication/OpenIDConnectAuth.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
namespace Laudis\Neo4j\Authentication;
1515

16-
use Bolt\enum\Signature;
1716
use Bolt\protocol\V4_4;
1817
use Bolt\protocol\V5;
1918
use Bolt\protocol\V5_1;
@@ -22,7 +21,6 @@
2221
use Bolt\protocol\V5_4;
2322
use Laudis\Neo4j\Common\ResponseHelper;
2423
use Laudis\Neo4j\Contracts\AuthenticateInterface;
25-
use Laudis\Neo4j\Exception\Neo4jException;
2624
use Psr\Http\Message\RequestInterface;
2725
use Psr\Http\Message\UriInterface;
2826

src/Bolt/BoltConnection.php

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

1414
namespace Laudis\Neo4j\Bolt;
1515

16-
use Bolt\protocol\Response;
1716
use Bolt\enum\ServerState;
1817
use Bolt\enum\Signature;
18+
use Bolt\protocol\Response;
1919
use Bolt\protocol\V4_4;
2020
use Bolt\protocol\V5;
2121
use Laudis\Neo4j\Common\ConnectionConfiguration;

src/Common/DNSAddressResolver.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313

1414
namespace Laudis\Neo4j\Common;
1515

16-
use Generator;
17-
use Traversable;
1816
use function array_filter;
1917
use function array_map;
2018
use function array_unique;
@@ -25,6 +23,7 @@
2523

2624
use function dns_get_record;
2725

26+
use Generator;
2827
use Laudis\Neo4j\Contracts\AddressResolverInterface;
2928
use Throwable;
3029

src/Databags/Neo4jError.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public static function fromBoltResponse(Response $response): self
4040
{
4141
/**
4242
* @psalm-suppress ImpurePropertyFetch
43+
*
4344
* @var array{code: string, message:string} $content
4445
*/
4546
$content = $response->content;

src/Enum/QueryTypeEnum.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
use JsonSerializable;
1717
use Laudis\Neo4j\Databags\SummaryCounters;
1818
use Laudis\TypedEnum\TypedEnum;
19+
use Stringable;
1920

2021
/**
2122
* The actual type of query after is has been run.
@@ -31,7 +32,7 @@
3132
*
3233
* @psalm-suppress MutableDependency
3334
*/
34-
final class QueryTypeEnum extends TypedEnum implements JsonSerializable, \Stringable
35+
final class QueryTypeEnum extends TypedEnum implements JsonSerializable, Stringable
3536
{
3637
private const READ_ONLY = 'read_only';
3738
private const READ_WRITE = 'read_write';

src/Enum/SslMode.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
use JsonSerializable;
1717
use Laudis\TypedEnum\TypedEnum;
18+
use Stringable;
1819

1920
/**
2021
* @method static self ENABLE()
@@ -28,7 +29,7 @@
2829
*
2930
* @psalm-suppress MutableDependency
3031
*/
31-
final class SslMode extends TypedEnum implements JsonSerializable, \Stringable
32+
final class SslMode extends TypedEnum implements JsonSerializable, Stringable
3233
{
3334
private const ENABLE = 'enable';
3435
private const ENABLE_WITH_SELF_SIGNED = 'enable_with_self_signed';

src/Formatter/Specialised/BoltOGMTranslator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
* @psalm-import-type OGMTypes from OGMFormatter
5555
*
5656
* @psalm-immutable
57+
*
5758
* @psalm-pure
5859
*/
5960
final class BoltOGMTranslator

src/Types/Abstract3DPoint.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ public function getZ(): float
4949

5050
/**
5151
* @psalm-suppress ImplementedReturnTypeMismatch
52+
*
5253
* @return array{x: float, y: float, z: float, srid: int, crs: Crs}
5354
*/
5455
public function toArray(): array

0 commit comments

Comments
 (0)