From: Thomas Citharel Date: Mon, 25 May 2015 18:44:22 +0000 (+0200) Subject: declare function correctly X-Git-Tag: 1.9.1beta3~4 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=3a690fad55cafb5b30debd1f3069e9c87b0a4b39;p=github%2Fwallabag%2Fwallabag.git declare function correctly --- diff --git a/inc/poche/Tools.class.php b/inc/poche/Tools.class.php index f34e8beb..f3d1013f 100755 --- a/inc/poche/Tools.class.php +++ b/inc/poche/Tools.class.php @@ -428,7 +428,7 @@ final class Tools * */ - function get_doctype($doc) + public static function get_doctype($doc) { $els = $doc->find('unknown');