| Conditions | 4 |
| Paths | 8 |
| Total Lines | 11 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 39 | private function setFuzziness($tnt) |
||
| 40 | { |
||
| 41 | $prefix_length = config('scout.tntsearch.fuzzy.prefix_length'); |
||
| 42 | $max_expansions = config('scout.tntsearch.fuzzy.max_expansions'); |
||
| 43 | $distance = config('scout.tntsearch.fuzzy.distance'); |
||
| 44 | |||
| 45 | $tnt->fuzziness = config('scout.tntsearch.fuzziness'); |
||
| 46 | $tnt->fuzzy_prefix_length = isset($prefix_length) ? $prefix_length : $tnt->fuzzy_prefix_length; |
||
| 47 | $tnt->fuzzy_max_expansions = isset($max_expansions) ? $max_expansions : $tnt->fuzzy_max_expansions; |
||
| 48 | $tnt->fuzzy_distance = isset($distance) ? $distance : $tnt->fuzzy_distance; |
||
| 49 | } |
||
| 50 | } |
||
| 51 |
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.