summaryrefslogtreecommitdiffstats
path: root/lib/private/Log/File.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Log/File.php')
-rw-r--r--lib/private/Log/File.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Log/File.php b/lib/private/Log/File.php
index 56121d21d9f..86f57f78fda 100644
--- a/lib/private/Log/File.php
+++ b/lib/private/Log/File.php
@@ -156,7 +156,7 @@ class File implements IWriter, IFileBased {
* @param int $offset
* @return array
*/
- public function getEntries($limit=50, $offset=0) {
+ public function getEntries(int $limit=50, int $offset=0):array {
$minLevel = $this->config->getSystemValue("loglevel", ILogger::WARN);
$entries = array();
$handle = @fopen($this->logFile, 'rb');
@@ -201,7 +201,7 @@ class File implements IWriter, IFileBased {
/**
* @return string
*/
- public function getLogFilePath() {
+ public function getLogFilePath():string {
return $this->logFile;
}
}