Skip to content

Commit a7af75c

Browse files
committed
override pipes if needed
1 parent b9e0bbf commit a7af75c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/PrintFormProcessor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ public function __construct(Pipes $pipes = null, string $tmpPrefix = 'pfp_')
1616
$this->tmpPrefix = $tmpPrefix;
1717
if ($pipes === null) {
1818
$this->pipes = new Pipes();
19+
} else {
20+
$this->pipes = $pipes;
1921
}
2022
}
2123

0 commit comments

Comments
 (0)