From 3a690fad55cafb5b30debd1f3069e9c87b0a4b39 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Mon, 25 May 2015 20:44:22 +0200 Subject: [PATCH] declare function correctly --- inc/poche/Tools.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); -- 2.41.0