aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Log
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2018-04-25 16:01:17 +0200
committerMorris Jobke <hey@morrisjobke.de>2018-04-26 12:10:53 +0200
commit57517882827a3b917da5e99ab2b2b2f81565a2f6 (patch)
tree83839d2fc614977a8ebe3e7b45dad8414f038d8b /lib/private/Log
parenta21a5bc4ec77c3098985a6561d0f7a00bedb9250 (diff)
downloadnextcloud-server-57517882827a3b917da5e99ab2b2b2f81565a2f6.tar.gz
nextcloud-server-57517882827a3b917da5e99ab2b2b2f81565a2f6.zip
add missing php doc and type hints
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/private/Log')
-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;
}
}