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.
This PR fix the warning received when the code (between lines 66 and 89) calls
new
insideaddDataImpl()
. Example:Also fixes the
PHP Notice: A non well formed numeric value encountered...
received when the code forprintSVG()
encounters a string where a numeric type is expected.