Passed
Pull Request — master (#569)
by Max
03:03
created
tests/Validator/DisableIntrospectionTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -31,6 +31,10 @@
 block discarded – undo
31 31
         );
32 32
     }
33 33
 
34
+    /**
35
+     * @param integer $line
36
+     * @param integer $column
37
+     */
34 38
     private function error($line, $column)
35 39
     {
36 40
         return FormattedError::create(
Please login to merge, or discard this patch.
tests/Validator/ExecutableDefinitionsTest.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -79,6 +79,11 @@
 block discarded – undo
79 79
         );
80 80
     }
81 81
 
82
+    /**
83
+     * @param string $defName
84
+     * @param integer $line
85
+     * @param integer $column
86
+     */
82 87
     private function nonExecutableDefinition($defName, $line, $column)
83 88
     {
84 89
         return FormattedError::create(
Please login to merge, or discard this patch.
tests/Validator/FieldsOnCorrectTypeTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -126,6 +126,12 @@
 block discarded – undo
126 126
         );
127 127
     }
128 128
 
129
+    /**
130
+     * @param string $field
131
+     * @param string $type
132
+     * @param integer $line
133
+     * @param integer $column
134
+     */
129 135
     private function undefinedField($field, $type, $suggestedTypes, $suggestedFields, $line, $column)
130 136
     {
131 137
         return FormattedError::create(
Please login to merge, or discard this patch.
tests/Validator/FragmentsOnCompositeTypesTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -106,6 +106,12 @@
 block discarded – undo
106 106
         );
107 107
     }
108 108
 
109
+    /**
110
+     * @param string $fragName
111
+     * @param string $typeName
112
+     * @param integer $line
113
+     * @param integer $column
114
+     */
109 115
     private function error($fragName, $typeName, $line, $column)
110 116
     {
111 117
         return FormattedError::create(
Please login to merge, or discard this patch.
tests/Validator/KnownArgumentNamesTest.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -143,6 +143,12 @@  discard block
 block discarded – undo
143 143
         );
144 144
     }
145 145
 
146
+    /**
147
+     * @param string $argName
148
+     * @param string $directiveName
149
+     * @param integer $line
150
+     * @param integer $column
151
+     */
146 152
     private function unknownDirectiveArg($argName, $directiveName, $suggestedArgs, $line, $column)
147 153
     {
148 154
         return FormattedError::create(
@@ -187,6 +193,13 @@  discard block
 block discarded – undo
187 193
         );
188 194
     }
189 195
 
196
+    /**
197
+     * @param string $argName
198
+     * @param string $fieldName
199
+     * @param string $typeName
200
+     * @param integer $line
201
+     * @param integer $column
202
+     */
190 203
     private function unknownArg($argName, $fieldName, $typeName, $suggestedArgs, $line, $column)
191 204
     {
192 205
         return FormattedError::create(
Please login to merge, or discard this patch.
tests/Validator/KnownDirectivesTest.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -32,6 +32,10 @@  discard block
 block discarded – undo
32 32
         ');
33 33
     }
34 34
 
35
+    /**
36
+     * @param string $sdlString
37
+     * @param Schema $schema
38
+     */
35 39
     private function expectSDLErrors($sdlString, $schema = null, $errors = [])
36 40
     {
37 41
         return $this->expectSDLErrorsFromRule(new KnownDirectives(), $sdlString, $schema, $errors);
@@ -97,6 +101,11 @@  discard block
 block discarded – undo
97 101
         );
98 102
     }
99 103
 
104
+    /**
105
+     * @param string $directiveName
106
+     * @param integer $line
107
+     * @param integer $column
108
+     */
100 109
     private function unknownDirective($directiveName, $line, $column)
101 110
     {
102 111
         return FormattedError::create(
@@ -320,6 +329,12 @@  discard block
 block discarded – undo
320 329
         );
321 330
     }
322 331
 
332
+    /**
333
+     * @param string $directiveName
334
+     * @param string $placement
335
+     * @param integer $line
336
+     * @param integer $column
337
+     */
323 338
     private function misplacedDirective($directiveName, $placement, $line, $column)
324 339
     {
325 340
         return FormattedError::create(
Please login to merge, or discard this patch.
tests/Validator/KnownFragmentNamesTest.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -70,6 +70,11 @@
 block discarded – undo
70 70
         );
71 71
     }
72 72
 
73
+    /**
74
+     * @param string $fragName
75
+     * @param integer $line
76
+     * @param integer $column
77
+     */
73 78
     private function undefFrag($fragName, $line, $column)
74 79
     {
75 80
         return FormattedError::create(
Please login to merge, or discard this patch.
tests/Validator/KnownTypeNamesTest.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -57,6 +57,11 @@
 block discarded – undo
57 57
         );
58 58
     }
59 59
 
60
+    /**
61
+     * @param string $typeName
62
+     * @param integer $line
63
+     * @param integer $column
64
+     */
60 65
     private function unknownType($typeName, $suggestedTypes, $line, $column)
61 66
     {
62 67
         return FormattedError::create(
Please login to merge, or discard this patch.
tests/Validator/LoneAnonymousOperationTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -100,6 +100,10 @@
 block discarded – undo
100 100
         );
101 101
     }
102 102
 
103
+    /**
104
+     * @param integer $line
105
+     * @param integer $column
106
+     */
103 107
     private function anonNotAlone($line, $column)
104 108
     {
105 109
         return FormattedError::create(
Please login to merge, or discard this patch.