@@ -9,7 +9,7 @@ |
||
9 | 9 | * http://opensource.org/licenses/MIT |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Youshido\GraphQL\Type; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * http://opensource.org/licenses/MIT |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | /* |
14 | 14 | * This file is a part of graphql-youshido project. |
15 | 15 | * |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * http://opensource.org/licenses/MIT |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | /* |
14 | 14 | * This file is a part of graphql-youshido project. |
15 | 15 | * |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * http://opensource.org/licenses/MIT |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | /* |
14 | 14 | * This file is a part of graphql-youshido project. |
15 | 15 | * |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * http://opensource.org/licenses/MIT |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | /* |
14 | 14 | * This file is a part of graphql-youshido project. |
15 | 15 | * |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * http://opensource.org/licenses/MIT |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | /* |
14 | 14 | * This file is a part of graphql-youshido project. |
15 | 15 | * |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | return false; |
37 | 37 | } |
38 | 38 | |
39 | - return (bool) $value; |
|
39 | + return (bool)$value; |
|
40 | 40 | } |
41 | 41 | |
42 | 42 | public function isValidValue($value) |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * http://opensource.org/licenses/MIT |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | /* |
14 | 14 | * This file is a part of graphql-youshido project. |
15 | 15 | * |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * http://opensource.org/licenses/MIT |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | /* |
14 | 14 | * This file is a part of GraphQL project. |
15 | 15 | * |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * http://opensource.org/licenses/MIT |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | /* |
14 | 14 | * This file is a part of GraphQL project. |
15 | 15 | * |
@@ -43,17 +43,17 @@ discard block |
||
43 | 43 | if (empty(self::$objectsHash[$type])) { |
44 | 44 | $name = \ucfirst($type); |
45 | 45 | |
46 | - $name = 'Datetime' === $name ? 'DateTime' : $name; |
|
46 | + $name = 'Datetime' === $name ? 'DateTime' : $name; |
|
47 | 47 | $name = 'Datetimetz' === $name ? 'DateTimeTz' : $name; |
48 | 48 | |
49 | - $className = 'Youshido\GraphQL\Type\Scalar\\' . $name . 'Type'; |
|
49 | + $className = 'Youshido\GraphQL\Type\Scalar\\'.$name.'Type'; |
|
50 | 50 | self::$objectsHash[$type] = new $className(); |
51 | 51 | } |
52 | 52 | |
53 | 53 | return self::$objectsHash[$type]; |
54 | 54 | } |
55 | 55 | |
56 | - throw new ConfigurationException('Configuration problem with type ' . $type); |
|
56 | + throw new ConfigurationException('Configuration problem with type '.$type); |
|
57 | 57 | } |
58 | 58 | |
59 | 59 | /** |