Passed
Pull Request — master (#104)
by
unknown
12:14 queued 08:28
created
src/DbDumperFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      */
77 77
     protected static function processExtraDumpParameters(array $dumpConfiguration, $dbDumper): DbDumper
78 78
     {
79
-        collect($dumpConfiguration)->each(function ($configValue, $configName) use ($dbDumper) {
79
+        collect($dumpConfiguration)->each(function($configValue, $configName) use ($dbDumper) {
80 80
             $methodName = lcfirst(Str::studly(is_numeric($configName) ? $configValue : $configName));
81 81
             $methodValue = is_numeric($configName) ? null : $configValue;
82 82
 
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
     protected static function determineValidMethodName(DbDumper $dbDumper, string $methodName): string
114 114
     {
115 115
         return collect([$methodName, 'set'.ucfirst($methodName)])
116
-            ->first(function (string $methodName) use ($dbDumper) {
116
+            ->first(function(string $methodName) use ($dbDumper) {
117 117
                 return method_exists($dbDumper, $methodName);
118 118
             }, '');
119 119
     }
Please login to merge, or discard this patch.
src/Commands/Cleanup.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
             return;
24 24
         }
25 25
 
26
-        $snapshots->splice($keep)->each(function ($snapshot) {
26
+        $snapshots->splice($keep)->each(function($snapshot) {
27 27
             $snapshot->delete();
28 28
         });
29 29
     }
Please login to merge, or discard this patch.