mirror of
https://github.com/vrana/adminer.git
synced 2025-08-07 07:06:45 +02:00
Doc-comments: Format
This commit is contained in:
@@ -65,8 +65,6 @@ if (isset($_GET["elastic"])) {
|
||||
return $this->rootQuery($path, $content, $method);
|
||||
}
|
||||
|
||||
/**
|
||||
*/
|
||||
function connect(string $server, string $username, string $password): bool {
|
||||
preg_match('~^(https?://)?(.*)~', $server, $match);
|
||||
$this->url = ($match[1] ?: "http://") . urlencode($username) . ":" . urlencode($password) . "@$match[2]";
|
||||
|
@@ -18,8 +18,7 @@ CREATE TABLE login (
|
||||
class AdminerLoginTable {
|
||||
protected $database;
|
||||
|
||||
/** Set database of login table
|
||||
*/
|
||||
/** Set database of login table */
|
||||
function __construct(string $database) {
|
||||
$this->database = $database;
|
||||
}
|
||||
|
@@ -10,8 +10,6 @@
|
||||
class AdminerTinymce {
|
||||
protected $path;
|
||||
|
||||
/**
|
||||
*/
|
||||
function __construct(string $path = "tiny_mce/tiny_mce.js") {
|
||||
$this->path = $path;
|
||||
}
|
||||
|
Reference in New Issue
Block a user