Skip to content

Commit

Permalink
Fix deprecation notice in PHP 8.2 (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
KacerCZ committed Feb 9, 2023
1 parent cd6a520 commit 6d106fa
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 6d106fa

Please sign in to comment.