Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
7 | public function up() |
||
8 | { |
||
9 | $this->insert('mail_templates', [ |
||
10 | 'key' => 'CHANGE_PASSWORD', |
||
11 | 'body' => '<p>Hello, {{name}}!</p>' |
||
12 | . '<p>To change your password, click here please {{link}}.</p>', |
||
13 | 'updated_at' => date('Y-m-d H:i:s'), |
||
14 | 'name' => 'Password changing', |
||
15 | 'subject' => 'Password changing' |
||
16 | ]); |
||
17 | } |
||
18 | |||
24 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.