Completed
Push — master ( 2638f7...b773c5 )
by Gino
06:58
created
updates/add_series_status_column.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     public function up()
20 20
     {
21 21
         if (Schema::hasTable(Series::TABLE_NAME)) {
22
-            Schema::table(Series::TABLE_NAME, static function ($table) {
22
+            Schema::table(Series::TABLE_NAME, static function($table) {
23 23
                 $table->string('status')->default(Series::STATUS_ACTIVE);
24 24
             });
25 25
         }
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     public function down()
32 32
     {
33 33
         if (Schema::hasTable(Series::TABLE_NAME)) {
34
-            Schema::table(Series::TABLE_NAME, static function ($table) {
34
+            Schema::table(Series::TABLE_NAME, static function($table) {
35 35
                 $table->dropColumn('status');
36 36
             });
37 37
         }
Please login to merge, or discard this patch.
controllers/Series.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
         $series = SeriesModel::whereId($recordId)->first();
58 58
 
59 59
         if ($series !== null) {
60
-            $this->pageTitle = trans(Plugin::LOCALIZATION_KEY . 'form.series.edit_title', ['series' => $series->title]);
60
+            $this->pageTitle = trans(Plugin::LOCALIZATION_KEY . 'form.series.edit_title', [ 'series' => $series->title ]);
61 61
         } else {
62 62
             $this->pageTitle = trans(Plugin::LOCALIZATION_KEY . 'form.series.series_does_not_exist');
63 63
         }
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
      */
73 73
     public function onBulkDelete()
74 74
     {
75
-        if ($checkedIds = (array)post('checked', [])) {
75
+        if ($checkedIds = (array)post('checked', [ ])) {
76 76
             $delete = SeriesModel::whereIn('id', $checkedIds)->delete();
77 77
         }
78 78
 
Please login to merge, or discard this patch.