:octocat: self -> $this

This commit is contained in:
smiley
2017-12-24 18:12:18 +01:00
parent 3a61a75e2f
commit e4ed56e0e7
4 changed files with 24 additions and 24 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ class AlphaNum extends QRDataAbstract{
* @throws \chillerlan\QRCode\Data\QRCodeDataException
*/
protected function getCharCode(string $chr):int {
$i = array_search($chr, self::CHAR_MAP);
$i = array_search($chr, $this::CHAR_MAP);
if($i !== false){
return $i;