Upgrade 1-11.38

This commit is contained in:
xesmyd
2026-03-30 14:10:30 +02:00
parent f2a7e6d1fc
commit ac648ef29d
24665 changed files with 69682 additions and 2205004 deletions
@@ -24,29 +24,26 @@ namespace Zxing;
*
* @author Sean Owen
*/
final class FormatException extends ReaderException {
final class FormatException extends ReaderException
{
private static ?\Zxing\FormatException $instance = null;
private static $instance;
public function __construct($cause = null)
{
if ($cause) {
parent::__construct($cause);
}
}
public function __construct($cause=null) {
if($cause){
parent::__construct($cause);
}
}
public static function getFormatInstance($cause=null) {
if(!self::$instance){
self::$instance = new FormatException();
}
if (self::$isStackTrace) {
return new FormatException($cause);
} else {
return self::$instance;
}
}
public static function getFormatInstance($cause = null)
{
if (!self::$instance) {
self::$instance = new FormatException();
}
if (self::$isStackTrace) {
return new FormatException($cause);
} else {
return self::$instance;
}
}
}