@@ -8,8 +8,8 @@ |
||
8 | 8 | |
9 | 9 | namespace Starlit\Db; |
10 | 10 | |
11 | -use Starlit\Utils\Str; |
|
12 | 11 | use Starlit\Utils\Arr; |
12 | +use Starlit\Utils\Str; |
|
13 | 13 | |
14 | 14 | /** |
15 | 15 | * Abstract class to model a single database row into an object. |
@@ -371,8 +371,6 @@ |
||
371 | 371 | } |
372 | 372 | |
373 | 373 | /** |
374 | - * @param string $property |
|
375 | - * @param mixed $value |
|
376 | 374 | * @return mixed |
377 | 375 | */ |
378 | 376 | private function getPrimaryDbValueWithPropertyType($primaryDbValue) |
@@ -252,7 +252,7 @@ |
||
252 | 252 | * Execute an SQL statement and return the first column of the first row. |
253 | 253 | * |
254 | 254 | * @param string $sql |
255 | - * @param array $parameters |
|
255 | + * @param string[] $parameters |
|
256 | 256 | * @return string|false |
257 | 257 | */ |
258 | 258 | public function fetchValue($sql, array $parameters = []) |