src/Resources/DbSchema.php
public function listResources($schema = null, $refresh = false)
    {
        $result = $this->parent->getSchemas($refresh);
        $resources = [];
        foreach ($result as $schema) {
            if (!empty($this->getPermissions($schema->name))) {
                $resources[] = $schema->name;
            }
        }

        return $resources;
    }
public function listResources($schema = null, $refresh = false)
    {
        $result = $this->parent->getSchemas($refresh);
        $resources = [];
        foreach ($result as $schema) {
            if (!empty($this->getPermissions($schema->name))) {
                $resources[] = $schema->name;
            }
        }

        return $resources;
    }
{@inheritdoc}