aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Log/IFileBased.php
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/public/Log/IFileBased.php
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/public/Log/IFileBased.php')
-rw-r--r--lib/public/Log/IFileBased.php17
1 files changed, 15 insertions, 2 deletions
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;
}