Completed
Branch master (901ac8)
by Rémi
11:17
created
src/System/Mapper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@
 block discarded – undo
177 177
     /**
178 178
      * Get a the Underlying QueryAdapter.
179 179
      *
180
-     * @return \Analogue\ORM\Drivers\QueryAdapter
180
+     * @return \Illuminate\Database\Query\Builder
181 181
      */
182 182
     public function newQueryBuilder()
183 183
     {
Please login to merge, or discard this patch.
src/ValueMap.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
     }
72 72
 
73 73
     /**
74
-     * @param $class
74
+     * @param string $class
75 75
      */
76 76
     public function setClass($class)
77 77
     {
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     }
80 80
 
81 81
     /**
82
-     * @return mixed
82
+     * @return string
83 83
      */
84 84
     public function getClass()
85 85
     {
Please login to merge, or discard this patch.
src/EntityMap.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -931,7 +931,6 @@  discard block
 block discarded – undo
931 931
      * @param string      $related
932 932
      * @param string|null $foreignKey
933 933
      * @param string|null $otherKey
934
-     * @param string|null $relation
935 934
      *
936 935
      * @throws MappingException
937 936
      *
@@ -1138,11 +1137,10 @@  discard block
 block discarded – undo
1138 1137
      * Define a many-to-many relationship.
1139 1138
      *
1140 1139
      * @param mixed       $entity
1141
-     * @param string      $relatedClass
1140
+     * @param string      $related
1142 1141
      * @param string|null $table
1143 1142
      * @param string|null $foreignKey
1144 1143
      * @param string|null $otherKey
1145
-     * @param string|null $relation
1146 1144
      *
1147 1145
      * @throws MappingException
1148 1146
      *
Please login to merge, or discard this patch.
src/Plugins/SoftDeletes/SoftDeletingScope.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     /**
34 34
      * Remove the scope from the given Analogue query builder.
35 35
      *
36
-     * @param mixed $query
36
+     * @param Query $query
37 37
      *
38 38
      * @return void
39 39
      */
Please login to merge, or discard this patch.
src/Relationships/HasMany.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
      *
10 10
      * @param  $relation
11 11
      *
12
-     * @return mixed
12
+     * @return \Analogue\ORM\EntityCollection
13 13
      */
14 14
     public function getResults($relation)
15 15
     {
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     /**
24 24
      * Match the eagerly loaded results to their parents.
25 25
      *
26
-     * @param array  $$results
26
+     * @param array  $results
27 27
      * @param string $relation
28 28
      *
29 29
      * @return array
Please login to merge, or discard this patch.
src/Relationships/HasManyThrough.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -291,7 +291,6 @@
 block discarded – undo
291 291
      * Run synchronization content if needed by the
292 292
      * relation type.
293 293
      *
294
-     * @param array $actualContent
295 294
      *
296 295
      * @return void
297 296
      */
Please login to merge, or discard this patch.
src/System/Manager.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      * Create a mapper for a given entity.
144 144
      *
145 145
      * @param \Analogue\ORM\Mappable|string|array|\Traversable $entity
146
-     * @param mixed                                            $entityMap
146
+     * @param null|EntityMap                                            $entityMap
147 147
      *
148 148
      * @throws MappingException
149 149
      * @throws \InvalidArgumentException
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
     /**
252 252
      * Check if the entity is already registered.
253 253
      *
254
-     * @param string|Entity $entity
254
+     * @param string $entity
255 255
      *
256 256
      * @return bool
257 257
      */
@@ -333,7 +333,7 @@  discard block
 block discarded – undo
333 333
     /**
334 334
      * Register an entity.
335 335
      *
336
-     * @param string|\Analogue\ORM\Mappable $entity    entity's class name
336
+     * @param string $entity    entity's class name
337 337
      * @param string|EntityMap              $entityMap map's class name
338 338
      *
339 339
      * @throws MappingException
Please login to merge, or discard this patch.
src/System/ResultBuilder.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,6 @@
 block discarded – undo
38 38
 
39 39
     /**
40 40
      * @param Mapper $defaultMapper
41
-     * @param array  $eagerLoads
42 41
      */
43 42
     public function __construct(Mapper $defaultMapper)
44 43
     {
Please login to merge, or discard this patch.
src/System/Wrappers/ObjectWrapper.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,6 @@
 block discarded – undo
35 35
     /**
36 36
      * Object Wrapper constructor.
37 37
      *
38
-     * @param mixed                  $object
39 38
      * @param Analogue\ORM\EntityMap $entityMap
40 39
      *
41 40
      * @return void
Please login to merge, or discard this patch.