1 | <?php |
||
2 | |||
3 | namespace Imanghafoori\HeyMan; |
||
4 | |||
5 | class StartGuarding |
||
6 | { |
||
7 | 121 | public function start() |
|
8 | { |
||
9 | 121 | $chains = resolve('heyman.chains')->data; |
|
10 | |||
11 | 121 | foreach ($chains as $manager => $data) { |
|
12 | 104 | resolve($manager)->startWatching($data); |
|
0 ignored issues
–
show
|
|||
13 | } |
||
14 | |||
15 | // We free up the memory here ... |
||
16 | // Although it is a very small amount |
||
17 | 121 | resolve('heyman.chains')->data = []; |
|
18 | 121 | } |
|
19 | } |
||
20 |
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.