From c90e011746967eb3ec3739d67942dc9d33a6a590 Mon Sep 17 00:00:00 2001 From: smiley Date: Wed, 29 Oct 2025 19:42:48 +0100 Subject: [PATCH] :shower: phan happy --- src/Output/QREps.php | 1 + src/Output/QRMarkupSVG.php | 1 + 2 files changed, 2 insertions(+) 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 = [];