LegacyLogger: Fix @return documentation for formatAsWfDebugLog()
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 16 Nov 2016 18:56:04 +0000 (10:56 -0800)
committerTimo Tijhof <krinklemail@gmail.com>
Wed, 16 Nov 2016 18:56:04 +0000 (10:56 -0800)
Follows-up 81e8d7af4.

Change-Id: I04a1bb53e5d35434166596edda4cdb1fe189964b

includes/debug/logger/LegacyLogger.php

index 4d7c84d..4614c46 100644 (file)
@@ -327,7 +327,7 @@ class LegacyLogger extends AbstractLogger {
         * @param string $channel
         * @param string $message
         * @param array $context
-        * @return null
+        * @return string
         */
        protected static function formatAsWfDebugLog( $channel, $message, $context ) {
                $time = wfTimestamp( TS_DB );