mirror of
https://github.com/Chouchen/Shikiryu_Backup.git
synced 2021-06-30 16:02:14 +02:00
✨ Add backup FROM SFTP to local
This commit is contained in:
@@ -4,6 +4,7 @@ namespace Shikiryu\Backup\Backup;
|
||||
|
||||
class Mysql extends BackupAbstract
|
||||
{
|
||||
use IsLocalTrait;
|
||||
|
||||
/**
|
||||
* @var $pdo \PDO
|
||||
@@ -22,7 +23,7 @@ class Mysql extends BackupAbstract
|
||||
/**
|
||||
* @param array $config
|
||||
*/
|
||||
public function __construct(array $config = array())
|
||||
public function __construct(array $config = [])
|
||||
{
|
||||
parent::__construct($config);
|
||||
}
|
||||
@@ -31,7 +32,7 @@ class Mysql extends BackupAbstract
|
||||
* @param array $tables
|
||||
* @return $this|string
|
||||
*/
|
||||
private function fromTables($tables = array())
|
||||
private function fromTables($tables = [])
|
||||
{
|
||||
if (!empty($tables)) {
|
||||
$this->tables = $tables;
|
||||
|
Reference in New Issue
Block a user