Completed
Pull Request — master (#1787)
by Stefano
21:31
created
lib/Doctrine/ODM/MongoDB/Mapping/Driver/XmlDriver.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -219,6 +219,9 @@  discard block
 block discarded – undo
219 219
         $class->addIndex($keys, $options);
220 220
     }
221 221
 
222
+    /**
223
+     * @param string $type
224
+     */
222 225
     private function addEmbedMapping(ClassMetadata $class, $embed, $type)
223 226
     {
224 227
         $attributes = $embed->attributes();
@@ -256,6 +259,9 @@  discard block
 block discarded – undo
256 259
         $this->addFieldMapping($class, $mapping);
257 260
     }
258 261
 
262
+    /**
263
+     * @param string $type
264
+     */
259 265
     private function addReferenceMapping(ClassMetadata $class, $reference, $type)
260 266
     {
261 267
         $cascade = array_keys((array) $reference->cascade);
Please login to merge, or discard this patch.