summaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-02-26 22:34:13 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-02-27 10:41:46 +0100
commit4077f16aecafbc5d07a43f458aeb67d3edf1213d (patch)
tree2dfb5c937cb32fbee3eb785d792d876e6d52c761 /apps/dav
parentcd3eb80ef4e9613e16430cb4c53332ac3cdae97a (diff)
downloadnextcloud-server-4077f16aecafbc5d07a43f458aeb67d3edf1213d.tar.gz
nextcloud-server-4077f16aecafbc5d07a43f458aeb67d3edf1213d.zip
Make ILogger strict
* Make implementations strict * Add scalar typehints Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/tests/unit/Connector/Sabre/ExceptionLoggerPluginTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/tests/unit/Connector/Sabre/ExceptionLoggerPluginTest.php b/apps/dav/tests/unit/Connector/Sabre/ExceptionLoggerPluginTest.php
index 9cfb2c465e4..ba28c39e093 100644
--- a/apps/dav/tests/unit/Connector/Sabre/ExceptionLoggerPluginTest.php
+++ b/apps/dav/tests/unit/Connector/Sabre/ExceptionLoggerPluginTest.php
@@ -41,7 +41,7 @@ class TestLogger extends Log {
//disable original constructor
}
- public function log($level, $message, array $context = array()) {
+ public function log($level, string $message, array $context = array()) {
$this->level = $level;
$this->message = $message;
}