Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | public static function cannotCreateDirectory($path) |
||
24 | { |
||
25 | return new static( |
||
26 | "Cannot create template cache directory in '$path'" |
||
1 ignored issue
–
show
|
|||
27 | ); |
||
28 | } |
||
29 | |||
41 |
It is generally a best practice as it is often more readable to use concatenation instead of interpolation for variables inside strings.