🔥 v6.0 first pass: PHP 8.2, remove deprecated elements, add type hints

This commit is contained in:
smiley
2023-11-25 12:49:56 +01:00
parent a301af5b7f
commit 39e3dfe83b
80 changed files with 332 additions and 1029 deletions
+3 -3
View File
@@ -19,7 +19,7 @@ use function json_encode;
*/
class QRStringJSON extends QROutputAbstract{
public const MIME_TYPE = 'application/json';
final public const MIME_TYPE = 'application/json';
/**
* @inheritDoc
@@ -39,7 +39,7 @@ class QRStringJSON extends QROutputAbstract{
*
* @inheritDoc
*/
protected function prepareModuleValue($value):string{
protected function prepareModuleValue(mixed $value):string{
return '';
}
@@ -57,7 +57,7 @@ class QRStringJSON extends QROutputAbstract{
*
* @inheritDoc
*/
public static function moduleValueIsValid($value):bool{
public static function moduleValueIsValid(mixed $value):bool{
return true;
}