|
@@ -50,7 +50,7 @@ discard block |
|
|
block discarded – undo |
|
50
|
50
|
*/ |
|
51
|
51
|
public function dropAll($keepSourceDatabases = TRUE, ?callable $onAfterDrop = NULL): void |
|
52
|
52
|
{ |
|
53
|
|
- $this->run(function (string $name) use ($keepSourceDatabases, $onAfterDrop): void { |
|
|
53
|
+ $this->run(function(string $name) use ($keepSourceDatabases, $onAfterDrop) : void { |
|
54
|
54
|
$databases = $this->databaseReplicator($name)->clearDatabases($this->checkKeepDatabases($name, $keepSourceDatabases)); |
|
55
|
55
|
if ($onAfterDrop !== NULL) { |
|
56
|
56
|
$onAfterDrop($name, $databases); |
|
@@ -62,7 +62,7 @@ discard block |
|
|
block discarded – undo |
|
62
|
62
|
|
|
63
|
63
|
public function build(bool $isForce, ?callable $onStart = NULL, ?callable $onEnd = NULL): void |
|
64
|
64
|
{ |
|
65
|
|
- $this->run(function (string $name) use ($isForce, $onStart, $onEnd): void { |
|
|
65
|
+ $this->run(function(string $name) use ($isForce, $onStart, $onEnd) : void { |
|
66
|
66
|
if ($onStart !== NULL) { |
|
67
|
67
|
$onStart(); |
|
68
|
68
|
} |
Please login to merge, or discard this patch.