mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-25 09:17:56 +00:00
Indentation.
This commit is contained in:
+2
-3
@@ -161,9 +161,8 @@ class QRCode{
|
||||
* @throws \chillerlan\QRCode\Data\QRCodeDataException
|
||||
*/
|
||||
public function getMatrix(string $data):QRMatrix {
|
||||
//NOTE: data sanitation should be done outside
|
||||
//$data = trim($data);
|
||||
|
||||
//NOTE: input sanitization should be done outside
|
||||
//$data = trim($data);
|
||||
if(empty($data)){
|
||||
throw new QRCodeDataException('QRCode::getMatrix() No data given.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user