MDL-65394 forum: fix get_move_discussion_html return signature
authorRyan Wyllie <ryan@moodle.com>
Tue, 23 Apr 2019 02:01:12 +0000 (10:01 +0800)
committerRyan Wyllie <ryan@moodle.com>
Wed, 1 May 2019 08:27:34 +0000 (16:27 +0800)
mod/forum/classes/local/renderers/discussion.php

index 8b7e624..084122a 100644 (file)
@@ -284,7 +284,7 @@ class discussion {
      *
      * @return string
      */
-    private function get_move_discussion_html() : string {
+    private function get_move_discussion_html() : ?string {
         global $DB;
 
         $forum = $this->forum;