Преглед изворни кода

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

jqh пре 4 година
родитељ
комит
dc3078e93b
1 измењених фајлова са 1 додато и 1 уклоњено
  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');
     }