mirror of
https://github.com/vrana/adminer.git
synced 2026-05-06 12:45:28 +02:00
Doc-comments: Fix type errors
This commit is contained in:
@@ -123,13 +123,13 @@ if (isset($_GET["imap"])) {
|
||||
$this->fields = array_keys(idx($result, 0, array()));
|
||||
}
|
||||
|
||||
function fetch_assoc(): array {
|
||||
function fetch_assoc() {
|
||||
$row = current($this->result);
|
||||
next($this->result);
|
||||
return $row;
|
||||
}
|
||||
|
||||
function fetch_row(): array {
|
||||
function fetch_row() {
|
||||
$row = $this->fetch_assoc();
|
||||
return ($row ? array_values($row) : false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user