@@ -388,7 +388,7 @@ discard block |
||
| 388 | 388 | * |
| 389 | 389 | * @param Entity $entity |
| 390 | 390 | * @param bool $useAutoIncrement |
| 391 | - * @return mixed |
|
| 391 | + * @return boolean |
|
| 392 | 392 | * @internal |
| 393 | 393 | */ |
| 394 | 394 | public function insert(Entity $entity, $useAutoIncrement = true) |
@@ -461,7 +461,7 @@ discard block |
||
| 461 | 461 | * |
| 462 | 462 | * Without $primaryKey it creates an entityFetcher and returns this. |
| 463 | 463 | * |
| 464 | - * @param string|Entity $class The entity class you want to fetch |
|
| 464 | + * @param string $class The entity class you want to fetch |
|
| 465 | 465 | * @param mixed $primaryKey The primary key of the entity you want to fetch |
| 466 | 466 | * @return Entity|EntityFetcher |
| 467 | 467 | * @throws IncompletePrimaryKey |
@@ -148,8 +148,8 @@ |
||
| 148 | 148 | /** |
| 149 | 149 | * Get the column name with $namingScheme or default naming scheme |
| 150 | 150 | * |
| 151 | - * @param $name |
|
| 152 | - * @param null $namingScheme |
|
| 151 | + * @param string $name |
|
| 152 | + * @param string $namingScheme |
|
| 153 | 153 | * @return string |
| 154 | 154 | */ |
| 155 | 155 | public function getMethodName($name, $namingScheme = null) |