From 57517882827a3b917da5e99ab2b2b2f81565a2f6 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Wed, 25 Apr 2018 16:01:17 +0200 Subject: add missing php doc and type hints Signed-off-by: Arthur Schiwon --- lib/public/Log/IFileBased.php | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'lib/public/Log') diff --git a/lib/public/Log/IFileBased.php b/lib/public/Log/IFileBased.php index e4befbfd632..c0eef472975 100644 --- a/lib/public/Log/IFileBased.php +++ b/lib/public/Log/IFileBased.php @@ -23,8 +23,21 @@ namespace OCP\Log; +/** + * Interface IFileBased + * + * @package OCP\Log + * + * @since 14.0.0 + */ interface IFileBased { - public function getLogFilePath(); + /** + * @since 14.0.0 + */ + public function getLogFilePath():string; - public function getEntries($limit=50, $offset=0); + /** + * @since 14.0.0 + */ + public function getEntries(int $limit=50, int $offset=0): array; } -- cgit v1.2.3