1
0
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:
Jakub Vrana
2025-03-28 09:13:36 +01:00
parent 45c045382a
commit 5e88dae4e2
15 changed files with 85 additions and 184 deletions

View File

@@ -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]";

View File

@@ -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;
}

View File

@@ -10,8 +10,6 @@
class AdminerTinymce {
protected $path;
/**
*/
function __construct(string $path = "tiny_mce/tiny_mce.js") {
$this->path = $path;
}