Passed
Branch master (5116e9)
by Kirill
03:58
created
src/Support.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
164 164
             return $result;
165 165
         }
166 166
 
167
-        return (string)$result;
167
+        return (string) $result;
168 168
     }
169 169
 }
Please login to merge, or discard this patch.
src/Standard/Scalars/DateTimeType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Standard/Scalars/FloatType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Standard/Scalars/StringType.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Standard/Scalars/IDType.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Standard/Scalars/AnyType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Standard/Scalars/BooleanType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Standard/Scalars/IntType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Standard/StandardType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.