Skip to content

Commit 655b269

Browse files
committed
Fix PHP 8.2 warning: Creation of dynamic property Text_LanguageDetect_Parser::$_trigram is deprecated
The warning found the bug that the class property had the wrong name.
1 parent 621bab4 commit 655b269

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Text/LanguageDetect/Parser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class Text_LanguageDetect_Parser extends Text_LanguageDetect
4444
*
4545
* @var string
4646
*/
47-
protected $_trigrams = array();
47+
protected $_trigram = array();
4848

4949
/**
5050
* Stores the trigram ranks of the sample

0 commit comments

Comments
 (0)