mirror of
https://github.com/friendica/friendica
synced 2024-11-10 06:22:53 +00:00
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
|
||||
* @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 a new issue