Skip to content

Commit 9d54a3b

Browse files
committed
remove temp variable
1 parent d67be13 commit 9d54a3b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Illuminate/Database/Schema/MySqlSchemaState.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,9 @@ protected function executeDumpProcess(Process $process, $output, array $variable
117117
$process->mustRun($output, $variables);
118118
} catch (Exception $e) {
119119
if (Str::contains($e->getMessage(), 'column_statistics')) {
120-
$process = Process::fromShellCommandLine(
120+
return $this->executeDumpProcess(Process::fromShellCommandLine(
121121
str_replace(' --column-statistics=0', '', $process->getCommandLine())
122-
);
123-
124-
return $this->executeDumpProcess($process, $output, $variables);
122+
), $output, $variables);
125123
}
126124
}
127125

0 commit comments

Comments
 (0)