Passed
Push — master ( 4a83bb...cc4251 )
by Бабичев
21:59 queued 01:36
created
database/migrations/2018_11_07_202152_update_transfers_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Traits/CanBePaid.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.