Passed
Push — develop ( 63f338...8116c8 )
by Jens
18:49
created
src/Core/Model/Common/JsonObject.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -140,6 +140,9 @@  discard block
 block discarded – undo
140 140
         return $this->getTyped($field);
141 141
     }
142 142
 
143
+    /**
144
+     * @param string $field
145
+     */
143 146
     protected function fieldDefinitionType($field)
144 147
     {
145 148
         return $this->fieldDefinitionValue($field, static::TYPE);
@@ -182,11 +185,17 @@  discard block
 block discarded – undo
182 185
         $this->initialized[$field] = true;
183 186
     }
184 187
 
188
+    /**
189
+     * @param string $field
190
+     */
185 191
     public function isOptional($field)
186 192
     {
187 193
         return $this->fieldDefinitionValue($field, static::OPTIONAL, false);
188 194
     }
189 195
 
196
+    /**
197
+     * @param string $field
198
+     */
190 199
     protected function decorateField($field, $value)
191 200
     {
192 201
         if ($decorator = $this->fieldDefinitionValue($field, static::DECORATOR)) {
Please login to merge, or discard this patch.