@@ -76,7 +76,7 @@ discard block |
||
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 |
||
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 | } |
@@ -23,7 +23,7 @@ |
||
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 | } |