Completed
Push — 5.1 ( a7d90f...f422a4 )
by Rémi
8s
created
src/System/Manager.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
      * Create a mapper for a given entity
115 115
      *
116 116
      * @param  \Analogue\ORM\Mappable|string|array|Collection $entity
117
-     * @param  mixed $entityMap
117
+     * @param  null|EntityMap $entityMap
118 118
      * @throws MappingException
119 119
      * @throws \InvalidArgumentException
120 120
      * @return Mapper
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
     /**
225 225
      * Register an entity
226 226
      *
227
-     * @param  string|\Analogue\ORM\Mappable $entity    entity's class name
227
+     * @param  string $entity    entity's class name
228 228
      * @param  string|EntityMap              $entityMap map's class name
229 229
      * @throws MappingException
230 230
      * @return void
@@ -385,7 +385,7 @@  discard block
 block discarded – undo
385 385
     /**
386 386
      * Check if the entity is already registered
387 387
      *
388
-     * @param  string|object $entity
388
+     * @param  string $entity
389 389
      * @return boolean
390 390
      */
391 391
     public function isRegisteredEntity($entity)
@@ -468,6 +468,9 @@  discard block
 block discarded – undo
468 468
         return $this;
469 469
     }
470 470
 
471
+    /**
472
+     * @param string|null $class
473
+     */
471 474
     public function getMorphMap($class)
472 475
     {
473 476
         $key = array_search($class, $this->morphMap);
Please login to merge, or discard this patch.