1 | <?php |
||
2 | |||
3 | namespace Nip\Mail\Message; |
||
4 | |||
5 | /** |
||
6 | * Trait HasAttachmentsTrait. |
||
7 | */ |
||
8 | trait HasAttachmentsTrait |
||
9 | { |
||
10 | /** |
||
11 | * @param $content |
||
12 | * @param $name |
||
13 | * |
||
14 | * @deprecated use attach() instead |
||
15 | */ |
||
16 | public function attachFromContent($content, $name = null, $contentType = null) |
||
17 | 1 | { |
|
18 | return $this->attach($content, $name, $contentType); |
||
0 ignored issues
–
show
|
|||
19 | 1 | } |
|
20 | } |
||
21 |
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.