smiley hace 2 años
padre
commit
d4887f2676
Se han modificado 2 ficheros con 5 adiciones y 0 borrados
  1. 1 0
      .phan/config.php
  2. 4 0
      src/Data/QRDataModeInterface.php

+ 1 - 0
.phan/config.php

@@ -55,5 +55,6 @@ return [
 	],
 	'suppress_issue_types' => [
 		'PhanAccessMethodInternal',
+		'PhanAccessOverridesFinalConstant',
 	],
 ];

+ 4 - 0
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;