Completed
Branch master (cbd196)
by Rémi
08:54
created
src/EntityMap.php 1 patch
Doc Comments   +3 added lines, -7 removed lines patch added patch discarded remove patch
@@ -928,8 +928,7 @@  discard block
 block discarded – undo
928 928
     /**
929 929
      * Define an Embedded Object.
930 930
      *
931
-     * @param mixed  $entity
932
-     * @param string $related
931
+     * @param string $relatedClass
933 932
      *
934 933
      * @return EmbedsOne
935 934
      */
@@ -949,8 +948,7 @@  discard block
 block discarded – undo
949 948
     /**
950 949
      * Define an Embedded Collection.
951 950
      *
952
-     * @param mixed  $entity
953
-     * @param string $related
951
+     * @param string $relatedClass
954 952
      *
955 953
      * @return EmbedsOne
956 954
      */
@@ -1056,7 +1054,6 @@  discard block
 block discarded – undo
1056 1054
      * @param string      $related
1057 1055
      * @param string|null $foreignKey
1058 1056
      * @param string|null $otherKey
1059
-     * @param string|null $relation
1060 1057
      *
1061 1058
      * @throws MappingException
1062 1059
      *
@@ -1261,11 +1258,10 @@  discard block
 block discarded – undo
1261 1258
      * Define a many-to-many relationship.
1262 1259
      *
1263 1260
      * @param mixed       $entity
1264
-     * @param string      $relatedClass
1261
+     * @param string      $related
1265 1262
      * @param string|null $table
1266 1263
      * @param string|null $foreignKey
1267 1264
      * @param string|null $otherKey
1268
-     * @param string|null $relation
1269 1265
      *
1270 1266
      * @throws MappingException
1271 1267
      *
Please login to merge, or discard this patch.
src/Relationships/EmbeddedRelationship.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -154,7 +154,6 @@  discard block
 block discarded – undo
154 154
      * Get attribute name from the parent, if a map has been
155 155
      * defined.
156 156
      *
157
-     * @param srring $attributeKey
158 157
      *
159 158
      * @return string
160 159
      */
@@ -217,7 +216,7 @@  discard block
 block discarded – undo
217 216
     /**
218 217
      * Return parent mapper.
219 218
      *
220
-     * @return Analogue\ORM\System\Mapper
219
+     * @return \Analogue\ORM\System\Mapper
221 220
      */
222 221
     protected function getParentMapper()
223 222
     {
@@ -227,7 +226,7 @@  discard block
 block discarded – undo
227 226
     /**
228 227
      * Return embedded relationship mapper.
229 228
      *
230
-     * @return Analogue\ORM\System\Mapper
229
+     * @return \Analogue\ORM\System\Mapper
231 230
      */
232 231
     protected function getRelatedMapper()
233 232
     {
Please login to merge, or discard this patch.
src/Relationships/EmbedsMany.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     /**
71 71
      * Transform embedded object into db column(s).
72 72
      *
73
-     * @param mixed $object
73
+     * @param mixed $objects
74 74
      *
75 75
      * @return array $columns
76 76
      */
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     /**
87 87
      * Normalize object an array containing raw attributes
88 88
      * 
89
-     * @param  mixed  $object 
89
+     * @param  mixed  $objects 
90 90
      * @return array
91 91
      */
92 92
     protected function normalizeAsArray($objects) : array
Please login to merge, or discard this patch.