We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63f34d3 commit 573e03eCopy full SHA for 573e03e
src/Schema/Sync/UpdateSchemaIfNeeded.php
@@ -71,9 +71,8 @@ public function updateSchema(ExecutorArgumentsEvent $event)
71
72
$this->logger->info("Update needed with timestamp $remoteSchemaTimestamp");
73
74
- $newSchemaPath = $this->updateSchemaFromSharedResource($remoteSchemaTimestamp);
75
-
76
- $installSchemaCallback = function() use($newSchemaPath, $lock) {
+ $installSchemaCallback = function() use($remoteSchemaTimestamp, $lock) {
+ $newSchemaPath = $this->updateSchemaFromSharedResource($remoteSchemaTimestamp);
77
if ($this->logger) {
78
$this->logger->info("Applying the updated schema ($newSchemaPath -> $this->definitionsDirectory)");
79
}
0 commit comments