Completed
Push — master ( 3474c6...7552ea )
by Alexandr
02:54
created
src/Validator/ConfigValidator/Rules/TypeValidationRule.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 namespace Youshido\GraphQL\Validator\ConfigValidator\Rules;
10 10
 
11 11
 
12
-use Youshido\GraphQL\Field\AbstractInputField;
13 12
 use Youshido\GraphQL\Field\FieldInterface;
14 13
 use Youshido\GraphQL\Field\InputFieldInterface;
15 14
 use Youshido\GraphQL\Type\AbstractType;
Please login to merge, or discard this patch.
Tests/Schema/NonNullableTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -20,6 +20,9 @@  discard block
 block discarded – undo
20 20
 {
21 21
     private $uid;
22 22
 
23
+    /**
24
+     * @param string $uid
25
+     */
23 26
     public function __construct($uid)
24 27
     {
25 28
         $this->uid = $uid;
@@ -34,6 +37,9 @@  discard block
 block discarded – undo
34 37
 class uid {
35 38
     private $uid;
36 39
 
40
+    /**
41
+     * @param string $uid
42
+     */
37 43
     public function __construct($uid)
38 44
     {
39 45
         $this->uid = $uid;
Please login to merge, or discard this patch.
Tests/Library/Config/ConfigTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
             ]
81 81
         ]);
82 82
 
83
-        $finalConfig = new TestConfig(['name' => $name . 'final', 'resolve' => function () { return []; }], $object, true);
83
+        $finalConfig = new TestConfig(['name' => $name.'final', 'resolve' => function() { return []; }], $object, true);
84 84
         $this->assertEquals($finalConfig->getType(), null);
85 85
 
86 86
         $rules['resolve']['required'] = true;
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
      */
101 101
     public function testFinalRule()
102 102
     {
103
-        ConfigValidator::getInstance()->assertValidConfig(new TestConfig(['name' => 'Test' . 'final'], null, true));
103
+        ConfigValidator::getInstance()->assertValidConfig(new TestConfig(['name' => 'Test'.'final'], null, true));
104 104
     }
105 105
 
106 106
     /**
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
                 ]
128 128
             ]
129 129
         ]);
130
-        $object   = new ObjectType([
130
+        $object = new ObjectType([
131 131
             'name' => 'Project',
132 132
             'fields' => [
133 133
                 'id' => new IdType(),
Please login to merge, or discard this patch.