mirror of
https://github.com/Chouchen/Shikiryu_Backup.git
synced 2021-06-30 16:02:14 +02:00
💚 Update rules for PHPMD
This commit is contained in:
@@ -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