Passed
Push — develop ( 8a22c7...60641a )
by Csaba
35s
created
src/Schema/TypeValidators/ArrayValidator.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -97,16 +97,25 @@
 block discarded – undo
97 97
         return $result;
98 98
     }
99 99
 
100
+    /**
101
+     * @param boolean $skipExtraneous
102
+     */
100 103
     private static function castKey($key, $params, $skipExtraneous)
101 104
     {
102 105
         return static::castProperty('key', $key, $params, $skipExtraneous);
103 106
     }
104 107
 
108
+    /**
109
+     * @param boolean $skipExtraneous
110
+     */
105 111
     private static function castItem($value, $params, $skipExtraneous)
106 112
     {
107 113
         return static::castProperty('item', $value, $params, $skipExtraneous);
108 114
     }
109 115
 
116
+    /**
117
+     * @param string $propertyType
118
+     */
110 119
     private static function castProperty($propertyType, $propertyValue, $params, $skipExtraneous)
111 120
     {
112 121
         if (isset($params[$propertyType]['type']) && $params[$propertyType]['type'] === 'schema') {
Please login to merge, or discard this patch.