From 9cea77ed60e81290de68e53838d6562484718ac2 Mon Sep 17 00:00:00 2001 From: Dimitar Date: Mon, 28 Oct 2019 15:44:20 +0200 Subject: [PATCH 1/2] Update README.md include the use statement as well --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index f4eda03..6af508c 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ $ composer require khanamiryan/qrcode-detector-decoder ## Usage ```php require __DIR__ . "/vendor/autoload.php"; +use use Zxing\QrReader; $qrcode = new QrReader('path/to_image'); $text = $qrcode->text(); //return decoded text from QR Code ``` From 9cb17c2028af4cd8668efb32f0ca272ebd7d5f07 Mon Sep 17 00:00:00 2001 From: Dimitar Date: Thu, 31 Oct 2019 08:55:38 +0200 Subject: [PATCH 2/2] fixed double 'use' --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6af508c..31b5d9e 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ $ composer require khanamiryan/qrcode-detector-decoder ## Usage ```php require __DIR__ . "/vendor/autoload.php"; -use use Zxing\QrReader; +use Zxing\QrReader; $qrcode = new QrReader('path/to_image'); $text = $qrcode->text(); //return decoded text from QR Code ```