Total Complexity | 3 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
7 | class MailTemplate |
||
8 | { |
||
9 | /** @var Driver|null */ |
||
10 | public $driver = null; |
||
11 | |||
12 | /** |
||
13 | * MailTemplate constructor. |
||
14 | * @param Driver $driver |
||
15 | */ |
||
16 | public function __construct(Driver $driver) |
||
19 | } |
||
20 | |||
21 | /** |
||
22 | * @param $subject |
||
23 | * @param $from |
||
24 | * @param $recipient |
||
25 | * @param $template |
||
26 | * @param $language |
||
27 | * @param $variables |
||
28 | * @return Driver |
||
29 | */ |
||
30 | public function prepare($subject, $from, $recipient, $template, $language, $variables) |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * @param $name |
||
44 | * @param $arguments |
||
45 | * @return $this |
||
46 | */ |
||
47 | public function __call($name, $arguments) |
||
52 |
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.