Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
15 | public function sendFavAUserNotificationEmail($user, $userFaved, $faveeUser){ |
||
16 | |||
17 | $subject = 'You Subject Here'; |
||
18 | $view = 'folder.extension'; // point to where your email templates are stored |
||
19 | $data = ['favorited_username' => $userFaved, 'favoritee_username' => $faveeUser]; |
||
20 | |||
21 | return $this->deliver($user, $subject, $view, $data); |
||
22 | } |
||
23 | |||
25 | } |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.