]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
declare function correctly
authorThomas Citharel <tcit@tcit.fr>
Mon, 25 May 2015 18:44:22 +0000 (20:44 +0200)
committerThomas Citharel <tcit@tcit.fr>
Mon, 25 May 2015 18:44:22 +0000 (20:44 +0200)
inc/poche/Tools.class.php

index f34e8bebe885dede2bad79bce859499542d68546..f3d1013fe52522f611fa8563d1c657c618fa6626 100755 (executable)
@@ -428,7 +428,7 @@ final class Tools
     *
     */
 
-    function get_doctype($doc)
+    public static function get_doctype($doc)
     {
         $els = $doc->find('unknown');