Skip to content

Commit d3b3ec8

Browse files
committed
Format
1 parent 9e30249 commit d3b3ec8

14 files changed

+16
-44
lines changed

src/Email.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
<?php
2-
3-
declare(strict_types=1);
1+
<?php declare(strict_types=1);
42

53
namespace MLL\GraphQLScalars;
64

src/JSON.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
<?php
2-
3-
declare(strict_types=1);
1+
<?php declare(strict_types=1);
42

53
namespace MLL\GraphQLScalars;
64

src/MixedScalar.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
<?php
2-
3-
declare(strict_types=1);
1+
<?php declare(strict_types=1);
42

53
namespace MLL\GraphQLScalars;
64

src/Regex.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
<?php
2-
3-
declare(strict_types=1);
1+
<?php declare(strict_types=1);
42

53
namespace MLL\GraphQLScalars;
64

src/StringScalar.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
<?php
2-
3-
declare(strict_types=1);
1+
<?php declare(strict_types=1);
42

53
namespace MLL\GraphQLScalars;
64

src/Utils.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
<?php
2-
3-
declare(strict_types=1);
1+
<?php declare(strict_types=1);
42

53
namespace MLL\GraphQLScalars;
64

tests/EmailTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
<?php
2-
3-
declare(strict_types=1);
1+
<?php declare(strict_types=1);
42

53
namespace Tests;
64

tests/JSONTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
<?php
2-
3-
declare(strict_types=1);
1+
<?php declare(strict_types=1);
42

53
namespace Tests;
64

tests/MixedScalarTest.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
<?php
2-
3-
declare(strict_types=1);
1+
<?php declare(strict_types=1);
42

53
namespace Tests;
64

@@ -79,7 +77,7 @@ public function testParseValuePassesThroughAnything($value): void
7977
/**
8078
* Provide an assortment of values that should pass the Mixed type.
8179
*
82-
* @return array<int, array<int, mixed>>
80+
* @return array<int, array{0: mixed}>
8381
*/
8482
public function singleValues(): array
8583
{
@@ -119,7 +117,7 @@ public function testCastsValuesIntoAppropriatePhpValue(string $graphQLLiteral, s
119117
/**
120118
* Provides a GraphQL literal, a JSON literal and the expected PHP value.
121119
*
122-
* @return array<int, array<int, mixed>>
120+
* @return array<int, array{0: string, 1: string, 2: mixed}>
123121
*/
124122
public function literalToPhpMap(): array
125123
{

tests/MyRegex.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
<?php
2-
3-
declare(strict_types=1);
1+
<?php declare(strict_types=1);
42

53
namespace Tests;
64

0 commit comments

Comments
 (0)