Skip to content

Commit d1dc038

Browse files
Refactor chained method calls for readability (#57050)
1 parent 9c33792 commit d1dc038

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Illuminate/Database/Schema/SqliteSchemaState.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ class SqliteSchemaState extends SchemaState
1616
*/
1717
public function dump(Connection $connection, $path)
1818
{
19-
($process = $this->makeProcess(
20-
$this->baseCommand().' ".schema --indent"'
21-
))->setTimeout(null)->mustRun(null, array_merge($this->baseVariables($this->connection->getConfig()), [
22-
//
23-
]));
19+
$process = $this->makeProcess($this->baseCommand().' ".schema --indent"')
20+
->setTimeout(null)
21+
->mustRun(null, array_merge($this->baseVariables($this->connection->getConfig()), [
22+
//
23+
]));
2424

2525
$migrations = preg_replace('/CREATE TABLE sqlite_.+?\);[\r\n]+/is', '', $process->getOutput());
2626

0 commit comments

Comments
 (0)