mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-27 18:48:13 +00:00
:octocat: type hints for class constants
This commit is contained in:
@@ -18,7 +18,7 @@ use chillerlan\QRCode\Data\{AlphaNum, QRDataModeInterface};
|
||||
*/
|
||||
final class AlphaNumTest extends DataInterfaceTestAbstract{
|
||||
|
||||
protected const testData = '0 $%*+-./:';
|
||||
protected const string testData = '0 $%*+-./:';
|
||||
|
||||
protected static function getDataModeInterface(string $data):QRDataModeInterface{
|
||||
return new AlphaNum($data);
|
||||
|
||||
Reference in New Issue
Block a user