1 | <?php |
||
8 | class Laravel7Mailer extends Mailer implements MailerContract, MailFactory |
||
9 | { |
||
10 | public function mailer($name = null) |
||
16 | |||
17 | /** |
||
18 | * Void function, bug fix for BeyondCode Hello |
||
19 | * Github issue: https://github.com/beyondcode/helo-laravel/issues/15 |
||
20 | */ |
||
21 | public static function extend() |
||
25 | } |
||
26 |
In PHP it is possible to write to properties without declaring them. For example, the following is perfectly valid PHP code:
Generally, it is a good practice to explictly declare properties to avoid accidental typos and provide IDE auto-completion: