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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user