mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-30 12:07:32 +00:00
🚿 phan happy
This commit is contained in:
@@ -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){
|
||||
|
||||
@@ -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 = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user