File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -712,7 +712,7 @@ public function detect($sample, $limit = 0)
712
712
$ sample_obj ->setPadStart (!$ this ->_perl_compatible );
713
713
$ sample_obj ->analyze ();
714
714
715
- $ trigram_freqs =& $ sample_obj ->getTrigramRanks ();
715
+ $ trigram_freqs = $ sample_obj ->getTrigramRanks ();
716
716
$ trigram_count = count ($ trigram_freqs );
717
717
718
718
if ($ trigram_count == 0 ) {
@@ -723,7 +723,7 @@ public function detect($sample, $limit = 0)
723
723
724
724
// use unicode block detection to narrow down the possibilities
725
725
if ($ this ->_use_unicode_narrowing ) {
726
- $ blocks =& $ sample_obj ->getUnicodeBlocks ();
726
+ $ blocks = $ sample_obj ->getUnicodeBlocks ();
727
727
728
728
if (is_array ($ blocks )) {
729
729
$ present_blocks = array_keys ($ blocks );
Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ function setUnicodeSkipSymbols($bool = true)
180
180
* @access public
181
181
* @return array trigram ranks in the text sample
182
182
*/
183
- function & getTrigramRanks ()
183
+ function getTrigramRanks ()
184
184
{
185
185
return $ this ->_trigram_ranks ;
186
186
}
@@ -193,7 +193,7 @@ function &getTrigramRanks()
193
193
* @access public
194
194
* @return array trigram freqencies in the text sample
195
195
*/
196
- function & getTrigramFreqs ()
196
+ function getTrigramFreqs ()
197
197
{
198
198
return $ this ->_trigram ;
199
199
}
@@ -204,7 +204,7 @@ function &getTrigramFreqs()
204
204
* @access public
205
205
* @return array unicode blocks in the text sample
206
206
*/
207
- function & getUnicodeBlocks ()
207
+ function getUnicodeBlocks ()
208
208
{
209
209
return $ this ->_unicode_blocks ;
210
210
}
You can’t perform that action at this time.
0 commit comments