@@ -46,7 +46,7 @@ |
||
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | - * @return \string[] |
|
| 49 | + * @return string[] |
|
| 50 | 50 | */ |
| 51 | 51 | public function getAllowedValues() |
| 52 | 52 | { |
@@ -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 |
@@ -76,8 +76,8 @@ discard block |
||
| 76 | 76 | * Get the table name for $reflection |
| 77 | 77 | * |
| 78 | 78 | * @param ReflectionClass $reflection |
| 79 | - * @param null $template |
|
| 80 | - * @param null $namingScheme |
|
| 79 | + * @param string $template |
|
| 80 | + * @param string $namingScheme |
|
| 81 | 81 | * @return string |
| 82 | 82 | */ |
| 83 | 83 | public function getTableName(ReflectionClass $reflection, $template = null, $namingScheme = null) |
@@ -102,8 +102,8 @@ discard block |
||
| 102 | 102 | /** |
| 103 | 103 | * Get the column name with $namingScheme or default naming scheme |
| 104 | 104 | * |
| 105 | - * @param $field |
|
| 106 | - * @param null $namingScheme |
|
| 105 | + * @param string $field |
|
| 106 | + * @param string $namingScheme |
|
| 107 | 107 | * @return string |
| 108 | 108 | */ |
| 109 | 109 | public function getColumnName($field, $namingScheme = null) |
@@ -118,8 +118,8 @@ discard block |
||
| 118 | 118 | /** |
| 119 | 119 | * Get the column name with $namingScheme or default naming scheme |
| 120 | 120 | * |
| 121 | - * @param $name |
|
| 122 | - * @param null $namingScheme |
|
| 121 | + * @param string $name |
|
| 122 | + * @param string $namingScheme |
|
| 123 | 123 | * @return string |
| 124 | 124 | */ |
| 125 | 125 | public function getMethodName($name, $namingScheme = null) |