mirror of
https://github.com/vrana/adminer.git
synced 2025-08-14 02:23:59 +02:00
PHPStan: Fix level 0 errors
This commit is contained in:
@@ -1184,7 +1184,7 @@ if (!defined('Adminer\DRIVER')) {
|
||||
|
||||
/** Convert field in select and edit
|
||||
* @param Field one element from fields()
|
||||
* @return string
|
||||
* @return ?string
|
||||
*/
|
||||
function convert_field($field) {
|
||||
if (preg_match("~binary~", $field["type"])) {
|
||||
|
@@ -176,9 +176,7 @@ if (isset($_GET["pgsql"])) {
|
||||
return $return;
|
||||
}
|
||||
|
||||
function warnings() {
|
||||
return ''; // not implemented in PDO_PgSQL as of PHP 7.2.1
|
||||
}
|
||||
// warnings() not implemented in PDO_PgSQL as of PHP 7.2.1
|
||||
|
||||
function close() {
|
||||
}
|
||||
|
Reference in New Issue
Block a user