diff --git a/.phan/config.php b/.phan/config.php index ccd457662..3e247d61a 100644 --- a/.phan/config.php +++ b/.phan/config.php @@ -55,5 +55,6 @@ return [ ], 'suppress_issue_types' => [ 'PhanAccessMethodInternal', + 'PhanAccessOverridesFinalConstant', ], ]; diff --git a/src/Data/QRDataModeInterface.php b/src/Data/QRDataModeInterface.php index 036481f76..518159206 100644 --- a/src/Data/QRDataModeInterface.php +++ b/src/Data/QRDataModeInterface.php @@ -20,7 +20,11 @@ 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. + * * @var int + * @see \chillerlan\QRCode\Common\Mode */ public const DATAMODE = -1;