Completed
Push — master ( fd7345...08b9e1 )
by Andreas
11s
created
lib/Doctrine/ODM/MongoDB/Mapping/Driver/XmlDriver.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -17,6 +17,7 @@  discard block
 block discarded – undo
17 17
 
18 18
     /**
19 19
      * {@inheritDoc}
20
+     * @param \Doctrine\Common\Persistence\Mapping\Driver\SymfonyFileLocator $locator
20 21
      */
21 22
     public function __construct($locator, $fileExtension = self::DEFAULT_FILE_EXTENSION)
22 23
     {
@@ -219,6 +220,9 @@  discard block
 block discarded – undo
219 220
         $class->addIndex($keys, $options);
220 221
     }
221 222
 
223
+    /**
224
+     * @param string $type
225
+     */
222 226
     private function addEmbedMapping(ClassMetadata $class, $embed, $type)
223 227
     {
224 228
         $attributes = $embed->attributes();
@@ -256,6 +260,9 @@  discard block
 block discarded – undo
256 260
         $this->addFieldMapping($class, $mapping);
257 261
     }
258 262
 
263
+    /**
264
+     * @param string $type
265
+     */
259 266
     private function addReferenceMapping(ClassMetadata $class, $reference, $type)
260 267
     {
261 268
         $cascade = array_keys((array) $reference->cascade);
Please login to merge, or discard this patch.