@@ -33,7 +33,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 | */ |