Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2018-04-25 17:01:17 +0300
committerMorris Jobke <hey@morrisjobke.de>2018-04-26 13:10:53 +0300
commit57517882827a3b917da5e99ab2b2b2f81565a2f6 (patch)
tree83839d2fc614977a8ebe3e7b45dad8414f038d8b /lib/public/Log
parenta21a5bc4ec77c3098985a6561d0f7a00bedb9250 (diff)
add missing php doc and type hints
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/public/Log')
-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;
}