:octocat: removed QROptionsTrait::$textDark and QROptionsTrait::$textLight

This commit is contained in:
smiley
2023-10-14 23:35:12 +02:00
parent 98d4447aa4
commit 07eb6e38ff
3 changed files with 3 additions and 23 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ class QRString extends QROutputAbstract{
* @inheritDoc
*/
protected function getDefaultModuleValue(bool $isDark):string{
return ($isDark) ? $this->options->textDark : $this->options->textLight;
return ($isDark) ? '██' : '░░';
}
/**
-13
View File
@@ -425,19 +425,6 @@ trait QROptionsTrait{
* QRString settings
*/
/**
* String substitute for dark
*
* @see https://en.wikipedia.org/wiki/Block_Elements
* @see https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit
*/
protected string $textDark = '██';
/**
* String substitute for light
*/
protected string $textLight = '░░';
/**
* An optional line prefix, e.g. empty space to align the QR Code in a console
*/