Type hints
This commit is contained in:
parent
f48452dd29
commit
5d9472dccf
|
@ -420,7 +420,7 @@ class DBA
|
|||
* @throws \Exception
|
||||
* @see self::select
|
||||
*/
|
||||
public static function selectToArray($table, array $fields = [], array $condition = [], array $params = [])
|
||||
public static function selectToArray(string $table, array $fields = [], array $condition = [], array $params = [])
|
||||
{
|
||||
return self::$database->selectToArray($table, $fields, $condition, $params);
|
||||
}
|
||||
|
|
|
@ -1419,7 +1419,7 @@ class Database
|
|||
* @throws \Exception
|
||||
* @see self::select
|
||||
*/
|
||||
public function selectToArray($table, array $fields = [], array $condition = [], array $params = [])
|
||||
public function selectToArray(string $table, array $fields = [], array $condition = [], array $params = [])
|
||||
{
|
||||
return $this->toArray($this->select($table, $fields, $condition, $params));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user