Browse Source

:shower: phan happy

smiley 1 tháng trước cách đây
mục cha
commit
c90e011746
2 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 1 0
      src/Output/QREps.php
  2. 1 0
      src/Output/QRMarkupSVG.php

+ 1 - 0
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){

+ 1 - 0
src/Output/QRMarkupSVG.php

@@ -129,6 +129,7 @@ class QRMarkupSVG extends QRMarkup{
 	 * returns one or more SVG <path> 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   = [];