Fixed Configuration::getSQLLogger() return type

`getSQLLogger()` can return `null`, this was omitted.