| @@ -128,7 +128,7 @@ discard block | ||
| 128 | 128 | * | 
| 129 | 129 | * @param EntityInterface $entity An Entity instance. | 
| 130 | 130 | * @param array $data Entity data. | 
| 131 | - * @return \Cake\Datasource\EntityInterface|mixed | |
| 131 | + * @return EntityInterface | |
| 132 | 132 | */ | 
| 133 | 133 | protected function _patchEntity($entity, $data) | 
| 134 | 134 |      { | 
| @@ -162,7 +162,7 @@ discard block | ||
| 162 | 162 | /** | 
| 163 | 163 | * Returns single entity by id. | 
| 164 | 164 | * | 
| 165 | - * @param mixed $primaryKey Primary key. | |
| 165 | + * @param string $primaryKey Primary key. | |
| 166 | 166 | * @return \Cake\Collection\Collection | 
| 167 | 167 | */ | 
| 168 | 168 | protected function _getEntity($primaryKey) | 
| @@ -211,7 +211,7 @@ discard block | ||
| 211 | 211 | /** | 
| 212 | 212 | * Model id getter. | 
| 213 | 213 | * | 
| 214 | - * @return mixed|string | |
| 214 | + * @return string | |
| 215 | 215 | */ | 
| 216 | 216 | public function id() | 
| 217 | 217 |      { | 
| @@ -231,7 +231,7 @@ discard block | ||
| 231 | 231 | /** | 
| 232 | 232 | * Parent id getter. | 
| 233 | 233 | * | 
| 234 | - * @return mixed|string | |
| 234 | + * @return string | |
| 235 | 235 | */ | 
| 236 | 236 | public function parentId() | 
| 237 | 237 |      { |