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:
@@ -412,7 +412,7 @@ function normalize_enum(array $match): string {
|
||||
* @param list<string> $privileges
|
||||
* @return Result|bool
|
||||
*/
|
||||
function grant(string $grant, array $privileges, string $columns, string $on) {
|
||||
function grant(string $grant, array $privileges, ?string $columns, string $on) {
|
||||
if (!$privileges) {
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user