@@ -31,7 +31,7 @@ |
||
31 | 31 | */ |
32 | 32 | public function down(): void |
33 | 33 | { |
34 | - Schema::table($this->table(), function (Blueprint $table) { |
|
34 | + Schema::table($this->table(), function(Blueprint $table) { |
|
35 | 35 | $table->dropColumn('refund'); |
36 | 36 | }); |
37 | 37 | } |
@@ -53,7 +53,7 @@ |
||
53 | 53 | ->orderBy('id', 'desc') |
54 | 54 | ->firstOrFail(); |
55 | 55 | |
56 | - return DB::transaction(function () use ($product, $transfer) { |
|
56 | + return DB::transaction(function() use ($product, $transfer) { |
|
57 | 57 | return $transfer->update(['refund', 1]) && $product |
58 | 58 | ->transfer($this, $product->getAmountProduct(), $product->getMetaProduct()) |
59 | 59 | ->exists; |