fixed examples

This commit is contained in:
smiley
2016-03-21 12:34:09 +01:00
parent 3b2d83bf60
commit f069421829
3 changed files with 3 additions and 6 deletions
+2 -4
View File
@@ -3,15 +3,13 @@
require_once '../vendor/autoload.php';
use chillerlan\QRCode\QRCode;
use chillerlan\QRCode\QROptions;
use chillerlan\QRCode\Output\QROutputBase;
use chillerlan\QRCode\Output\QROutputInterface;
use chillerlan\QRCode\Output\QROutputAbstract;
/**
* Class MyCustomOutput
*/
class MyCustomOutput extends QROutputBase implements QROutputInterface{
class MyCustomOutput extends QROutputAbstract{
/**
* @return mixed
-2
View File
@@ -10,9 +10,7 @@
require_once '../vendor/autoload.php';
use chillerlan\QRCode\QRCode;
use chillerlan\QRCode\QROptions;
use chillerlan\QRCode\Output\QRImage;
use chillerlan\QRCode\Output\QRImageOptions;
use chillerlan\QRCode\Output\QRString;
use chillerlan\QRCode\Output\QRStringOptions;
+1
View File
@@ -44,6 +44,7 @@ echo '<style>
$qrStringOptions = new QRStringOptions;
$qrStringOptions->type = QRCode::OUTPUT_STRING_HTML;
$qrStringOptions->eol = '';
$qrOptions = new QROptions;
$qrOptions->typeNumber = QRCode::TYPE_05;