mirror of
https://github.com/Chouchen/Shikiryu_Backup.git
synced 2026-09-24 16:03:54 +02:00
💚 Update rules for PHPMD
This commit is contained in:
1 parent
aa9127262f
commit
ba5910f3bd
9 files changed
+59
-32
No files matched your search
@@ -2,12 +2,14 @@
|
||||
|
||||
namespace Shikiryu\Backup\Backup;
|
||||
|
||||
use PDO;
|
||||
|
||||
class Mysql extends BackupAbstract
|
||||
{
|
||||
use IsLocalTrait;
|
||||
|
||||
/**
|
||||
* @var $pdo \PDO
|
||||
* @var $pdo PDO
|
||||
*/
|
||||
private $pdo;
|
||||
|
||||
@@ -106,7 +108,7 @@ class Mysql extends BackupAbstract
|
||||
*/
|
||||
protected function preBuild()
|
||||
{
|
||||
$this->pdo = new \PDO('mysql:host='.$this->host.';dbname='.$this->database, $this->login, $this->pwd);
|
||||
$this->pdo = new PDO('mysql:host='.$this->host.';dbname='.$this->database, $this->login, $this->pwd);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user