Completed
Pull Request — master (#204)
by Ryan
11:34
created
src/Type/CompositeTypeInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Type/Scalar/DateType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
  *
Please login to merge, or discard this patch.
src/Type/Scalar/DateTimeType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
  *
Please login to merge, or discard this patch.
src/Type/Scalar/TimestampType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
  *
Please login to merge, or discard this patch.
src/Type/Scalar/DateTimeTzType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
  *
Please login to merge, or discard this patch.
src/Type/Scalar/BooleanType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/Type/Scalar/AbstractScalarType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
  *
Please login to merge, or discard this patch.
src/Type/NonNullType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
  *
Please login to merge, or discard this patch.
src/Type/TypeFactory.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.