From d62304cf70882279153d6885d1e783aa55555b42 Mon Sep 17 00:00:00 2001 From: jgen Date: Thu, 9 Mar 2017 22:28:48 -0800 Subject: [PATCH] more linting --- core/extension.class.php | 3 +++ core/util.inc.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/core/extension.class.php b/core/extension.class.php index e3931935..dc8a1ccd 100644 --- a/core/extension.class.php +++ b/core/extension.class.php @@ -92,6 +92,9 @@ abstract class Extension { $this->theme = $this->get_theme_object(get_called_class()); } + /** + * @return boolean + */ public function is_live() { global $database; return ( diff --git a/core/util.inc.php b/core/util.inc.php index f0d02c54..29e525b3 100644 --- a/core/util.inc.php +++ b/core/util.inc.php @@ -90,7 +90,7 @@ function sql_escape($input) { * Turn all manner of HTML / INI / JS / DB booleans into a PHP one * * @param mixed $input - * @return bool + * @return boolean */ function bool_escape($input) { /*