Skip to content

Commit 1ded903

Browse files
authored
Merge pull request #88 from mikebronner/patch-1
Make private functions protected
2 parents a0fb306 + f3eb7e5 commit 1ded903

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/TNTSearchScoutServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function boot()
3737
}
3838
}
3939

40-
private function setFuzziness($tnt)
40+
protected function setFuzziness($tnt)
4141
{
4242
$fuzziness = config('scout.tntsearch.fuzziness');
4343
$prefix_length = config('scout.tntsearch.fuzzy.prefix_length');
@@ -51,7 +51,7 @@ private function setFuzziness($tnt)
5151
$tnt->fuzzy_distance = isset($distance) ? $distance : $tnt->fuzzy_distance;
5252
}
5353

54-
private function setAsYouType($tnt)
54+
protected function setAsYouType($tnt)
5555
{
5656
$asYouType = config('scout.tntsearch.asYouType');
5757

0 commit comments

Comments
 (0)