Parcourir la source

修复Widgets\Code::html方法冲突问题

jqh il y a 4 ans
Parent
commit
dc3078e93b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/Widgets/Code.php

+ 1 - 1
src/Widgets/Code.php

@@ -45,7 +45,7 @@ class Code extends Markdown
         return $this->lang('javascript');
     }
 
-    public function html()
+    public function asHtml()
     {
         return $this->lang('html');
     }