summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
Diffstat (limited to 'it.class')
-rw-r--r--it.class4
1 files changed, 2 insertions, 2 deletions
diff --git a/it.class b/it.class
index 442fd66..41b9eb7 100644
--- a/it.class
+++ b/it.class
@@ -1198,9 +1198,9 @@ static function safe_filename($filename)
return $filename;
}
-static function file_get_contents($filename, $use_include_path = false, $context = null, $offset = 0)
+static function file_get_contents($filename, ...$args)
{
- return file_get_contents(it::safe_filename($filename), $use_include_path, $context, $offset); # NOPHPLINT
+ return file_get_contents(it::safe_filename($filename), ...$args); # NOPHPLINT
}
static function file_put_contents($filename, $data, $flags = 0, $resource = null)