+ @property

This commit is contained in:
smiley
2016-02-23 14:56:25 +01:00
parent 38321779ab
commit 5a60e78ff8
2 changed files with 6 additions and 5 deletions
+2 -1
View File
@@ -15,7 +15,8 @@ namespace chillerlan\QRCode\Data;
use chillerlan\QRCode\BitBuffer;
/**
*
* @property string data
* @property int dataLength
*/
interface QRDataInterface{
+4 -4
View File
@@ -92,7 +92,7 @@ class QRCode{
*
* @param string $data
* @param \chillerlan\QRCode\Output\QROutputInterface $output
* @param \chillerlan\QRCode\QROptions $options
* @param \chillerlan\QRCode\QROptions|null $options
*/
public function __construct($data, QROutputInterface $output, QROptions $options = null){
$this->qrOutputInterface = $output;
@@ -101,8 +101,8 @@ class QRCode{
}
/**
* @param string $data
* @param \chillerlan\QRCode\QROptions $options
* @param string $data
* @param \chillerlan\QRCode\QROptions|null $options
*
* @return $this
* @throws \chillerlan\QRCode\QRCodeException
@@ -128,7 +128,7 @@ class QRCode{
case Util::isAlphaNum($data):
$mode = Util::isNumber($data) ? QRConst::MODE_NUMBER : QRConst::MODE_ALPHANUM;
break;
case Util::isKanji($data) :
case Util::isKanji($data):
$mode = QRConst::MODE_KANJI;
break;
default: