Skip to content

Commit

Permalink
Fix: Remove quotes from proc_open() (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
RikudouSage committed Feb 9, 2022
1 parent 0597013 commit 706aed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QrPayment.php
Expand Up @@ -176,7 +176,7 @@ public function getQrString(): string
$xzBinary = $this->getXzBinary();

// we need to get raw lzma1 compressed data with parameters LC=3, LP=0, PB=2, DICT_SIZE=128KiB
$xzProcess = proc_open("${xzBinary} '--format=raw' '--lzma1=lc=3,lp=0,pb=2,dict=128KiB' '-c' '-'", [
$xzProcess = proc_open("${xzBinary} --format=raw --lzma1=lc=3,lp=0,pb=2,dict=128KiB -c -", [
0 => [
'pipe',
'r',
Expand Down

0 comments on commit 706aed6

Please sign in to comment.