Skip to content

Commit 600f9e9

Browse files
authored
Merge pull request #3 from hpacleb/fix-osFileProcClause
fix: Fix osFileProcClause
2 parents 72c8669 + 9ff02b4 commit 600f9e9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/SQLLoader.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,13 +429,14 @@ public function inFile(
429429
string $path,
430430
?string $badFile = null,
431431
?string $discardFile = null,
432-
?string $discardMax = null
432+
?string $discardMax = null,
433+
?string $osFileProcClause = null,
433434
): static {
434435
if (! File::exists($path) && ! Str::contains($path, ['*', '?'])) {
435436
throw new InvalidArgumentException("File [{$path}] does not exist.");
436437
}
437438

438-
$this->inputFiles[] = new InputFile($path, $badFile, $discardFile, $discardMax);
439+
$this->inputFiles[] = new InputFile($path, $badFile, $discardFile, $discardMax, $osFileProcClause);
439440

440441
return $this;
441442
}

0 commit comments

Comments
 (0)