Total Complexity | 3 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
20 | class Laravel implements Iface |
||
21 | { |
||
22 | private ?\Illuminate\Mail\MailManager $manager; |
||
23 | |||
24 | |||
25 | /** |
||
26 | * Initializes the object |
||
27 | * |
||
28 | * @param \Illuminate\Mail\MailManager $manager Mail manager object |
||
29 | */ |
||
30 | public function __construct( \Illuminate\Mail\MailManager $manager ) |
||
31 | { |
||
32 | $this->manager = $manager; |
||
33 | } |
||
34 | |||
35 | |||
36 | /** |
||
37 | * Returns the mailer for the given name |
||
38 | * |
||
39 | * @param string|null $name Key for the mailer |
||
40 | * @return \Aimeos\Base\Mail\Iface Mail object |
||
41 | */ |
||
42 | public function get( string $name = null ) : \Aimeos\Base\Mail\Iface |
||
45 | } |
||
46 | } |
||
47 |
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.