mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-09-07 08:16:40 +00:00
📖
This commit is contained in:
@@ -83,6 +83,7 @@ class QRCode{
|
||||
public function render(string|null $data = null, string|null $file = null):mixed{
|
||||
|
||||
if($data !== null){
|
||||
/** @var \chillerlan\QRCode\Data\QRDataModeInterface $dataInterface */
|
||||
foreach(Mode::INTERFACES as $dataInterface){
|
||||
|
||||
if($dataInterface::validateString($data)){
|
||||
|
||||
Reference in New Issue
Block a user