Passed
Pull Request — master (#5)
by Max
05:22 queued 23s
created
src/Type/Definition/ValidatedFieldDefinition.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@
 block discarded – undo
183 183
     }
184 184
 
185 185
     /**
186
-     * @return mixed|string|string[]|null
186
+     * @return string
187 187
      *
188 188
      * @throws ReflectionException
189 189
      */
Please login to merge, or discard this patch.
src/Type/Definition/UserErrorsType.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -50,6 +50,9 @@  discard block
 block discarded – undo
50 50
         ]);
51 51
     }
52 52
 
53
+    /**
54
+     * @param string[] $path
55
+     */
53 56
     protected function _buildListOfType($config, $path, &$finalFields) {
54 57
         $type = $config['type'];
55 58
         $wrappedType = $type->getWrappedType(true);
@@ -77,6 +80,9 @@  discard block
 block discarded – undo
77 80
         }
78 81
     }
79 82
 
83
+    /**
84
+     * @param string[] $path
85
+     */
80 86
     protected function _buildInputObjectType($config, $path, &$finalFields) {
81 87
         $fields = [];
82 88
         $type = $config['type'];
@@ -117,6 +123,9 @@  discard block
 block discarded – undo
117 123
         }
118 124
     }
119 125
 
126
+    /**
127
+     * @param string[] $path
128
+     */
120 129
     protected function _addErrorCodes($config, &$finalFields, $path) {
121 130
         if (isset($config['errorCodes'])) {
122 131
             if (!isset($config['validate'])) {
Please login to merge, or discard this patch.