diff --git a/src/Data/QRDataModeInterface.php b/src/Data/QRDataModeInterface.php index 518159206..321cf60b6 100644 --- a/src/Data/QRDataModeInterface.php +++ b/src/Data/QRDataModeInterface.php @@ -21,10 +21,13 @@ interface QRDataModeInterface{ * the current data mode: Number, Alphanum, Kanji, Hanzi, Byte, ECI * * tbh I hate this constant here, but it's part of the interface, so I can't just declare it in the abstract class. - * phan will complain about a PhanAccessOverridesFinalConstant. + * (phan will complain about a PhanAccessOverridesFinalConstant) + * + * @see https://wiki.php.net/rfc/final_class_const * * @var int * @see \chillerlan\QRCode\Common\Mode + * @internal do not call this constant from the interface, but rather from one of the child classes */ public const DATAMODE = -1; diff --git a/src/Output/QRMarkupHTML.php b/src/Output/QRMarkupHTML.php index 5f7a2297e..b85c09df2 100644 --- a/src/Output/QRMarkupHTML.php +++ b/src/Output/QRMarkupHTML.php @@ -42,7 +42,7 @@ class QRMarkupHTML extends QRMarkup{ // wrap the snippet into a body when saving to file if($saveToFile){ $html = sprintf( - 'QR Code%s', + 'QR Code%s', $this->options->eol.$html ); }