Skip to content

Fixing a few PHP warnings#107

Open
rdwebdesign wants to merge 2 commits into
kazuhikoarase:masterfrom
rdwebdesign:patch-1
Open

Fixing a few PHP warnings#107
rdwebdesign wants to merge 2 commits into
kazuhikoarase:masterfrom
rdwebdesign:patch-1

Conversation

@rdwebdesign

@rdwebdesign rdwebdesign commented Dec 25, 2021

Copy link
Copy Markdown
Contributor

This PR fix the warning received when the code (between lines 66 and 89) calls new inside addDataImpl().
Example:

    $this->addDataImpl(new QRNumber($data));

Also fixes the PHP Notice: A non well formed numeric value encountered... received when the code for printSVG() encounters a string where a numeric type is expected.

Avoid the "PHP Notice:  A non well formed numeric value encountered..." message, using the right type.
@rdwebdesign

Copy link
Copy Markdown
Contributor Author

@kazuhikoarase

Do you need more information about the fixed code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant