Remove depreciation warning in phpqrcode for PHP 8
This commit is contained in:
parent
be00440cfe
commit
70c6bbf3b9
@ -952,7 +952,7 @@
|
|||||||
class QRimage {
|
class QRimage {
|
||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
public static function png($frame, $filename = false, $pixelPerPoint = 4, $outerFrame = 4,$saveandprint=FALSE, $back_color, $fore_color)
|
public static function png($frame, $filename = false, $pixelPerPoint = 4, $outerFrame = 4,$saveandprint=FALSE, $back_color = 0xFFFFFF, $fore_color = 0x000000)
|
||||||
{
|
{
|
||||||
$image = self::image($frame, $pixelPerPoint, $outerFrame, $back_color, $fore_color);
|
$image = self::image($frame, $pixelPerPoint, $outerFrame, $back_color, $fore_color);
|
||||||
|
|
||||||
@ -3546,7 +3546,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
public static function svg($frame, $filename = false, $pixelPerPoint = 4, $outerFrame = 4,$saveandprint=FALSE, $back_color, $fore_color)
|
public static function svg($frame, $filename = false, $pixelPerPoint = 4, $outerFrame = 4,$saveandprint=FALSE, $back_color = 0xFFFFFF, $fore_color = 0x000000)
|
||||||
{
|
{
|
||||||
$vect = self::vectSVG($frame, $pixelPerPoint, $outerFrame, $back_color, $fore_color);
|
$vect = self::vectSVG($frame, $pixelPerPoint, $outerFrame, $back_color, $fore_color);
|
||||||
|
|
||||||
@ -3619,7 +3619,3 @@
|
|||||||
return $output;
|
return $output;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user