summaryrefslogtreecommitdiff
path: root/classes/logger/stdout.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-25 17:10:03 +0300
committerAndrew Dolgov <[email protected]>2021-02-25 17:10:03 +0300
commit34c74400a471b31fea22ea85636f47c76d783710 (patch)
tree460528b4f177a1500b61035ed39644747cb47d66 /classes/logger/stdout.php
parentdcf0135285f1a515454807cdfe1e819f37a23a86 (diff)
enforce some stricter type checking for loggers
Diffstat (limited to 'classes/logger/stdout.php')
-rw-r--r--classes/logger/stdout.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/logger/stdout.php b/classes/logger/stdout.php
index 645fe8ecf..e906853ce 100644
--- a/classes/logger/stdout.php
+++ b/classes/logger/stdout.php
@@ -1,7 +1,7 @@
<?php
-class Logger_Stdout {
+class Logger_Stdout implements Logger_Adapter {
- function log_error($errno, $errstr, $file, $line, $context) {
+ function log_error(int $errno, string $errstr, string $file, int $line, $context) {
switch ($errno) {
case E_ERROR: