Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
18 | public function create( |
||
19 | Collection $wordList, |
||
20 | ?int $gridSize = null, |
||
21 | ?int $min_word_length = null, |
||
22 | ?int $max_word_length = null |
||
23 | ): Grid { |
||
24 | return (new Grid( |
||
25 | $gridSize ?? $this->config['default_grid_size'], |
||
26 | $min_word_length ?? $this->config['default_min_word_length'], |
||
27 | $max_word_length ?? $this->config['default_max_word_length'], |
||
28 | $wordList |
||
29 | ))->generate(); |
||
30 | } |
||
38 |
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.