| 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 forFullPath($path) |
||
| 24 | { |
||
| 25 | return new static( |
||
| 26 | "Failed to include template '$path'" |
||
|
1 ignored issue
–
show
|
|||
| 27 | ); |
||
| 28 | } |
||
| 29 | |||
| 42 |
It is generally a best practice as it is often more readable to use concatenation instead of interpolation for variables inside strings.