@@ -46,7 +46,7 @@ |
||
46 | 46 | private static $syntaxNonNull = '%s!'; |
47 | 47 | |
48 | 48 | /** |
49 | - * @param AllowsTypeIndication|Definition $type |
|
49 | + * @param Definition $type |
|
50 | 50 | * @return string |
51 | 51 | */ |
52 | 52 | protected function typeToString(Definition $type): string |
@@ -5,7 +5,7 @@ discard block |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Railt\Reflection; |
11 | 11 | |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | */ |
106 | 106 | protected function valueWithType($value): string |
107 | 107 | { |
108 | - return \mb_strtolower(\gettype($value)) . ' ' . $this->valueToString($value); |
|
108 | + return \mb_strtolower(\gettype($value)).' '.$this->valueToString($value); |
|
109 | 109 | } |
110 | 110 | |
111 | 111 | /** |
@@ -164,6 +164,6 @@ discard block |
||
164 | 164 | return $result; |
165 | 165 | } |
166 | 166 | |
167 | - return (string)$result; |
|
167 | + return (string) $result; |
|
168 | 168 | } |
169 | 169 | } |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Railt\Reflection\Standard\Scalars; |
11 | 11 |
@@ -5,7 +5,7 @@ discard block |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Railt\Reflection\Standard\Scalars; |
11 | 11 | |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | /** |
27 | 27 | * Short Float scalar public description. |
28 | 28 | */ |
29 | - protected const TYPE_DESCRIPTION = 'The `Float` scalar type represents signed double-precision fractional ' . |
|
29 | + protected const TYPE_DESCRIPTION = 'The `Float` scalar type represents signed double-precision fractional '. |
|
30 | 30 | 'values as specified by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point).'; |
31 | 31 | |
32 | 32 | /** |
@@ -5,7 +5,7 @@ discard block |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Railt\Reflection\Standard\Scalars; |
11 | 11 | |
@@ -26,8 +26,8 @@ discard block |
||
26 | 26 | /** |
27 | 27 | * Short String scalar public description. |
28 | 28 | */ |
29 | - protected const TYPE_DESCRIPTION = 'The `String` scalar type represents textual data, represented as UTF-8 ' . |
|
30 | - 'character sequences. The String type is most often used by GraphQL to ' . |
|
29 | + protected const TYPE_DESCRIPTION = 'The `String` scalar type represents textual data, represented as UTF-8 '. |
|
30 | + 'character sequences. The String type is most often used by GraphQL to '. |
|
31 | 31 | 'represent free-form human-readable text.'; |
32 | 32 | |
33 | 33 | /** |
@@ -5,7 +5,7 @@ discard block |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Railt\Reflection\Standard\Scalars; |
11 | 11 | |
@@ -28,10 +28,10 @@ discard block |
||
28 | 28 | /** |
29 | 29 | * Short ID scalar public description. |
30 | 30 | */ |
31 | - protected const TYPE_DESCRIPTION = 'The `ID` scalar type represents a unique identifier, often used to ' . |
|
32 | - 'refetch an object or as key for a cache. The ID type appears in a JSON ' . |
|
33 | - 'response as a String; however, it is not intended to be human-readable. ' . |
|
34 | - 'When expected as an input type, any string (such as `"4"`) or integer ' . |
|
31 | + protected const TYPE_DESCRIPTION = 'The `ID` scalar type represents a unique identifier, often used to '. |
|
32 | + 'refetch an object or as key for a cache. The ID type appears in a JSON '. |
|
33 | + 'response as a String; however, it is not intended to be human-readable. '. |
|
34 | + 'When expected as an input type, any string (such as `"4"`) or integer '. |
|
35 | 35 | '(such as `4`) input value will be accepted as an ID.'; |
36 | 36 | |
37 | 37 | /** |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Railt\Reflection\Standard\Scalars; |
11 | 11 |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Railt\Reflection\Standard\Scalars; |
11 | 11 |
@@ -5,7 +5,7 @@ discard block |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Railt\Reflection\Standard\Scalars; |
11 | 11 | |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | /** |
27 | 27 | * Short Int scalar public description. |
28 | 28 | */ |
29 | - protected const TYPE_DESCRIPTION = 'The `Int` scalar type represents non-fractional signed whole numeric ' . |
|
29 | + protected const TYPE_DESCRIPTION = 'The `Int` scalar type represents non-fractional signed whole numeric '. |
|
30 | 30 | 'values. Int can represent values between -(2^31) and 2^31 - 1.'; |
31 | 31 | |
32 | 32 | /** |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Railt\Reflection\Standard; |
11 | 11 |