Completed
Push — 5.1 ( a7d90f...f422a4 )
by Rémi
8s
created
src/Plugins/SoftDeletes/SoftDeletingScope.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     /**
33 33
      * Remove the scope from the given Analogue query builder.
34 34
      *
35
-     * @param  mixed $query
35
+     * @param  Query $query
36 36
      * @return void
37 37
      */
38 38
     public function remove(Query $query)
Please login to merge, or discard this patch.
src/Relationships/BelongsToMany.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -383,6 +383,7 @@
 block discarded – undo
383 383
      * Set the join clause for the relation query.
384 384
      *
385 385
      * @param  \Analogue\ORM\Query|null
386
+     * @param Query $query
386 387
      * @return $this
387 388
      */
388 389
     protected function setJoin($query = null)
Please login to merge, or discard this patch.
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.