Update QrCodeExtension.php

PHP 5.3 compatibility bugfix
Merge pull request #10 from imanzuk/master

PHP 5.3 compatibility bugfix