1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 07:36:44 +02:00

Doc-comments: Fix type errors

This commit is contained in:
Jakub Vrana
2025-03-28 13:15:14 +01:00
parent dc38a7ded3
commit 46f6a96c95
22 changed files with 60 additions and 64 deletions

View File

@@ -97,7 +97,7 @@ if (isset($_GET["mongo"])) {
$this->num_rows = count($this->rows);
}
function fetch_assoc(): array {
function fetch_assoc() {
$row = current($this->rows);
if (!$row) {
return $row;
@@ -110,7 +110,7 @@ if (isset($_GET["mongo"])) {
return $return;
}
function fetch_row(): array {
function fetch_row() {
$return = $this->fetch_assoc();
if (!$return) {
return $return;