Completed
Push — master ( 8a0f6b...bb6f7f )
by Nil
02:11
created
src/Infrastructure/Model/Repository/EloquentMongoDB/EloquentRepository.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     /**
34 34
      * Retrieves an entity by its id.
35 35
      *
36
-     * @param Identity|Model $id
36
+     * @param Identity $id
37 37
      * @param Fields|null    $fields
38 38
      *
39 39
      * @return array
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
     /**
100 100
      * Returns whether an entity with the given id exists.
101 101
      *
102
-     * @param Identity|Model $id
102
+     * @param Identity $id
103 103
      *
104 104
      * @return bool
105 105
      */
@@ -133,9 +133,9 @@  discard block
 block discarded – undo
133 133
     /**
134 134
      * Adds a new entity to the storage.
135 135
      *
136
-     * @param Identity|Model $value
136
+     * @param Identity $value
137 137
      *
138
-     * @return mixed
138
+     * @return Identity
139 139
      */
140 140
     public function add(Identity $value)
141 141
     {
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
     /**
184 184
      * Removes the entity with the given id.
185 185
      *
186
-     * @param Identity|Model $id
186
+     * @param Identity $id
187 187
      *
188 188
      * @return bool
189 189
      */
Please login to merge, or discard this patch.