Conditions | 3 |
Paths | 3 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
17 | protected function email() |
||
18 | { |
||
19 | if (($email = env('ADMIN_EMAIL', null)) != null) { |
||
20 | return $email; |
||
21 | } |
||
22 | |||
23 | if (($email = git_user_email()) != null) { |
||
|
|||
24 | return $email; |
||
25 | } |
||
26 | |||
27 | return "[email protected]"; |
||
28 | } |
||
29 | } |
||
30 |