diff --git a/src/Output/QREps.php b/src/Output/QREps.php index 394c4f96f..cef56d785 100644 --- a/src/Output/QREps.php +++ b/src/Output/QREps.php @@ -130,6 +130,7 @@ class QREps extends QROutputAbstract{ } // create the path elements + /** @phan-suppress-next-line PhanDeprecatedFunction */ $paths = $this->collectModules(fn(int $x, int $y, int $M_TYPE):string => $this->module($x, $y, $M_TYPE)); foreach($paths as $M_TYPE => $path){ diff --git a/src/Output/QRMarkupSVG.php b/src/Output/QRMarkupSVG.php index 571195ea2..9cf604842 100644 --- a/src/Output/QRMarkupSVG.php +++ b/src/Output/QRMarkupSVG.php @@ -129,6 +129,7 @@ class QRMarkupSVG extends QRMarkup{ * returns one or more SVG elements */ protected function paths():string{ + /** @phan-suppress-next-line PhanDeprecatedFunction */ $paths = $this->collectModules(fn(int $x, int $y, int $M_TYPE):string => $this->module($x, $y, $M_TYPE)); $svg = [];