Passed
Push — 2.1 ( c0132f...504ca3 )
by Fabrice
06:21 queued 02:26
created
src/Laravel/Loaders/DbLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
         // btw, multi insert are not necessarily that faster in real world
99 99
         // situation where there is a lot of updates and you need ot keep
100 100
         // atomicity using transactions
101
-        DB::transaction(function () use ($loadQuery, $whereClause, $param) {
101
+        DB::transaction(function() use ($loadQuery, $whereClause, $param) {
102 102
             if (!empty($whereClause) && $loadQuery->where($whereClause)->sharedLock()->exists()) {
103 103
                 $update = \array_diff_key($param, $whereClause);
104 104
                 $loadQuery->update($update);
Please login to merge, or discard this patch.
src/Transformers/Arrays/CharsetTransformerTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 {
17 17
     public function getConvertClosure(?string $from = null, string $to = Strings::ENCODING): Closure
18 18
     {
19
-        return function ($value) use ($from, $to) {
19
+        return function($value) use ($from, $to) {
20 20
             return is_string($value) ? Strings::convert($value, $from, $to) : $value;
21 21
         };
22 22
     }
Please login to merge, or discard this patch.