aboutsummaryrefslogtreecommitdiff
path: root/src/phorkie/File.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/phorkie/File.php')
-rw-r--r--src/phorkie/File.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/phorkie/File.php b/src/phorkie/File.php
index 869aa80..de8bde0 100644
--- a/src/phorkie/File.php
+++ b/src/phorkie/File.php
@@ -58,7 +58,7 @@ class File
return file_get_contents($this->path);
}
- public function getHighlightedContent()
+ public function getHighlightedContent(Tool_Result $res = null)
{
$ext = $this->getExt();
if (isset($GLOBALS['phorkie']['languages'][$ext]['renderer'])) {
@@ -67,7 +67,7 @@ class File
$class = '\\phorkie\\Renderer_Geshi';
}
$rend = new $class();
- return $rend->toHtml($this);
+ return $rend->toHtml($this, $res);
}
/**