Completed
Push — master ( 10cbf3...f8b772 )
by Evgenii
04:08
created
src/views/admin/index.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -72,12 +72,12 @@  discard block
 block discarded – undo
72 72
         'filename',
73 73
         [
74 74
             'attribute' => 'status',
75
-            'content' => function (Backup $model) {
75
+            'content' => function(Backup $model) {
76 76
                 return BackupStatus::getLabel($model->status);
77 77
             }
78 78
         ],
79 79
         [
80
-            'content' => function (Backup $model) {
80
+            'content' => function(Backup $model) {
81 81
                 $html = ' ';
82 82
                 if (file_exists($model->getFullPath()))
83 83
                     $html .= Html::tag('span', IconHelper::CHECK, ['title' => 'Файл найден', 'style' => 'color:#38b704;']);
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
         'size:size',
99 99
         [
100 100
             'contentOptions' => ['class' => 'text-right'],
101
-            'content' => function (Backup $model) {
101
+            'content' => function(Backup $model) {
102 102
                 $html = Html::a(IconHelper::PLAY, null, [
103 103
                     'class' => 'btn btn-default btn-sm',
104 104
                     'title' => Yii::t('app.f12.backup', 'Restore'),
Please login to merge, or discard this patch.
src/logic/DatabaseBackupMaker.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,7 @@
 block discarded – undo
51 51
      */
52 52
     public function execute()
53 53
     {
54
-        $this->dumper = new $this->dumperClass
55
-        (
54
+        $this->dumper = new $this->dumperClass(
56 55
             $this->connection->dsn,
57 56
             $this->connection->username,
58 57
             $this->connection->password,
Please login to merge, or discard this patch.