diff options
author | dsiddhath2 <dsiddhath2@gmail.com> | 2017-09-09 14:37:57 +0530 |
---|---|---|
committer | dsiddhath2 <dsiddhath2@gmail.com> | 2017-09-09 14:37:57 +0530 |
commit | 0c2dd093938e7003c9e4fb1bccaaf25f75085249 (patch) | |
tree | b27c2a46340ce847201cc673f8ab52d4de5ac28f | |
parent | 2f06ed7a8881eed45139cf166b8ecda124e66c16 (diff) | |
download | php-zxing-0c2dd093938e7003c9e4fb1bccaaf25f75085249.zip php-zxing-0c2dd093938e7003c9e4fb1bccaaf25f75085249.tar.gz php-zxing-0c2dd093938e7003c9e4fb1bccaaf25f75085249.tar.bz2 |
Changed ZxingImageNotFound.php to ZxingBarNotFound.php
-rw-r--r-- | src/PHPZxing/PHPZxingDecoder.php | 2 | ||||
-rw-r--r-- | src/PHPZxing/ZxingBarNotFound.php (renamed from src/PHPZxing/ZxingImageNotFound.php) | 4 | ||||
-rw-r--r-- | src/examples/example.php | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/PHPZxing/PHPZxingDecoder.php b/src/PHPZxing/PHPZxingDecoder.php index 3158400..f0764c2 100644 --- a/src/PHPZxing/PHPZxingDecoder.php +++ b/src/PHPZxing/PHPZxingDecoder.php @@ -162,7 +162,7 @@ class PHPZxingDecoder extends PHPZxingBase { } else if(preg_match('/No barcode found/', $singleLine)) { $imagePath = array_shift(explode(" ", $singleLine)); - $image[] = new ZxingImageNotFound($imagePath, 101, "No barcode found"); + $image[] = new ZxingBarNotFound($imagePath, 101, "No barcode found"); } } diff --git a/src/PHPZxing/ZxingImageNotFound.php b/src/PHPZxing/ZxingBarNotFound.php index d40b336..608d743 100644 --- a/src/PHPZxing/ZxingImageNotFound.php +++ b/src/PHPZxing/ZxingBarNotFound.php @@ -1,6 +1,6 @@ <?php /* -Descrition : ZxingImageNotFound - returns the obejct of ZxingImageNotFound if any bar / Qr Code is +Descrition : ZxingBarNotFound - returns the obejct of ZxingBarNotFound if any bar / Qr Code is not found license: MIT-style @@ -36,7 +36,7 @@ authors: namespace PHPZxing; -class ZxingImageNotFound { +class ZxingBarNotFound { // Path of the image decoded private $imagePath = null; diff --git a/src/examples/example.php b/src/examples/example.php index 56ebd7e..ddacc22 100644 --- a/src/examples/example.php +++ b/src/examples/example.php @@ -2,7 +2,7 @@ require dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . "PHPZxing" . DIRECTORY_SEPARATOR . "PHPZxingBase.php"; require dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . "PHPZxing" . DIRECTORY_SEPARATOR . "PHPZxingDecoder.php"; require dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . "PHPZxing" . DIRECTORY_SEPARATOR . "ZxingImage.php"; - require dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . "PHPZxing" . DIRECTORY_SEPARATOR . "ZxingImageNotFound.php"; + require dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . "PHPZxing" . DIRECTORY_SEPARATOR . "ZxingBarNotFound.php"; use PHPZxing\PHPZxingDecoder; |