Type hints
This commit is contained in:
parent
f48452dd29
commit
5d9472dccf
2 changed files with 2 additions and 2 deletions
|
@ -420,7 +420,7 @@ class DBA
|
||||||
* @throws \Exception
|
* @throws \Exception
|
||||||
* @see self::select
|
* @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);
|
return self::$database->selectToArray($table, $fields, $condition, $params);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1419,7 +1419,7 @@ class Database
|
||||||
* @throws \Exception
|
* @throws \Exception
|
||||||
* @see self::select
|
* @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));
|
return $this->toArray($this->select($table, $fields, $condition, $params));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue