Skip to content

Commit

Permalink
fix: rector
Browse files Browse the repository at this point in the history
  • Loading branch information
yajra committed May 28, 2024
1 parent 1897563 commit eaec992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SQLLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ protected function buildCommand(): string

$command = "$binary userid=$tns control={$filePath}";
if (! $this->logPath) {
$this->logPath = str_replace('.ctl', '.log', $filePath);
$this->logPath = str_replace('.ctl', '.log', (string) $filePath);
$command .= " log={$this->logPath}";
}

Expand Down

0 comments on commit eaec992

Please sign in to comment.