protected static function invalidPath($type, $path, $error) { return new static(sprintf('The database %s <code>%s</code> %s. ' . "Make sure it's present and writable to the user that the webserver is using.", $type, $path, $error)); }