mirror of
https://github.com/vrana/adminer.git
synced 2025-08-07 23:27:17 +02:00
PHPStan: Fix level 3 errors
This commit is contained in:
@@ -344,12 +344,12 @@ function input($field, $value, $function, $autofocus = false) {
|
||||
|
||||
/** Process edit input field
|
||||
* @param Field one field from fields()
|
||||
* @return string or false to leave the original value
|
||||
* @return mixed false to leave the original value
|
||||
*/
|
||||
function process_input($field) {
|
||||
global $adminer, $driver;
|
||||
if (stripos($field["default"], "GENERATED ALWAYS AS ") === 0) {
|
||||
return null;
|
||||
return;
|
||||
}
|
||||
$idf = bracket_escape($field["field"]);
|
||||
$function = idx($_POST["function"], $idf);
|
||||
|
Reference in New Issue
Block a user