🛀 fix examples

This commit is contained in:
codemasher
2020-11-22 10:12:20 +01:00
parent d58c2044f1
commit 4aec4d2c3c
10 changed files with 38 additions and 30 deletions
+4 -3
View File
@@ -11,6 +11,7 @@
namespace chillerlan\QRCodeExamples;
use chillerlan\QRCode\{QRCode, QROptions};
use chillerlan\QRCode\Common\EccLevel;
require_once '../vendor/autoload.php';
@@ -60,9 +61,9 @@ header('Content-Type: text/html; charset=utf-8');
$data = 'https://www.youtube.com/watch?v=DLzxrzFCyOs&t=43s';
$options = new QROptions([
'version' => 5,
'outputType' => QRCode::OUTPUT_MARKUP_HTML,
'eccLevel' => QRCode::ECC_L,
'version' => 5,
'outputType' => QRCode::OUTPUT_MARKUP_HTML,
'eccLevel' => EccLevel::L,
'moduleValues' => [
// finder
1536 => '#A71111', // dark (true)