Conditions | 5 |
Paths | 16 |
Total Lines | 13 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
39 | private function setFuzziness($tnt) |
||
40 | { |
||
41 | $fuzziness = config('scout.tntsearch.fuzziness'); |
||
42 | $prefix_length = config('scout.tntsearch.fuzzy.prefix_length'); |
||
43 | $max_expansions = config('scout.tntsearch.fuzzy.max_expansions'); |
||
44 | $distance = config('scout.tntsearch.fuzzy.distance'); |
||
45 | |||
46 | |||
47 | $tnt->fuzziness = isset($fuzziness) ? $fuzziness : $tnt->fuzziness; |
||
48 | $tnt->fuzzy_prefix_length = isset($prefix_length) ? $prefix_length : $tnt->fuzzy_prefix_length; |
||
49 | $tnt->fuzzy_max_expansions = isset($max_expansions) ? $max_expansions : $tnt->fuzzy_max_expansions; |
||
50 | $tnt->fuzzy_distance = isset($distance) ? $distance : $tnt->fuzzy_distance; |
||
51 | } |
||
52 | } |
||
53 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.