We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30f99b0 commit 18fbf58Copy full SHA for 18fbf58
Templating/Helper/CodeHelper.php
@@ -115,7 +115,7 @@ public function fileExcerpt($file, $line)
115
{
116
if (is_readable($file)) {
117
if (extension_loaded('fileinfo')) {
118
- $finfo = new \Finfo();
+ $finfo = new \finfo();
119
120
// Check if the file is an application/octet-stream (eg. Phar file) because highlight_file cannot parse these files
121
if ('application/octet-stream' === $finfo->file($file, FILEINFO_MIME_TYPE)) {
0 commit comments