From 6bd9d2c3bcbea8ba0a51371600d02af750d1f45b Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Wed, 21 Feb 2018 19:53:44 -0600 Subject: [PATCH] Update: use the correct return type I suspect that when I copied and pasted the static s_get_value_exact() functions that I forgot to update the default value. --- common/base/classes/base_address.php | 2 +- common/base/classes/base_ajax.php | 2 +- common/base/classes/base_database.php | 2 +- common/base/classes/base_debug.php | 2 +- common/base/classes/base_form.php | 2 +- common/base/classes/base_html.php | 2 +- common/base/classes/base_ldap.php | 2 +- common/base/classes/base_log.php | 2 +- common/base/classes/base_menu.php | 2 +- common/base/classes/base_path.php | 2 +- common/base/classes/base_paths.php | 2 +- common/base/classes/base_rfc_char.php | 2 +- common/base/classes/base_rfc_string.php | 2 +- common/base/classes/base_roles.php | 2 +- common/base/classes/base_session.php | 2 +- common/base/classes/base_users.php | 2 +- common/base/classes/base_view.php | 2 +- common/standard/classes/standard_index.php | 2 +- common/standard/classes/standard_menu.php | 2 +- common/standard/classes/standard_paths.php | 2 +- common/theme/classes/theme_html.php | 2 +- common/view/classes/view_log_users_self.php | 4 ++-- 22 files changed, 23 insertions(+), 23 deletions(-) diff --git a/common/base/classes/base_address.php b/common/base/classes/base_address.php index 41b0215..965dce6 100644 --- a/common/base/classes/base_address.php +++ b/common/base/classes/base_address.php @@ -59,7 +59,7 @@ class c_base_address_email extends c_base_return { * @see: t_base_return_value_exact::p_s_value_exact() */ public static function s_value_exact($return) { - return self::p_s_value_exact($return, __CLASS__, []); + return self::p_s_value_exact($return, __CLASS__, NULL); } /** diff --git a/common/base/classes/base_ajax.php b/common/base/classes/base_ajax.php index 0acf835..10fdef1 100644 --- a/common/base/classes/base_ajax.php +++ b/common/base/classes/base_ajax.php @@ -34,6 +34,6 @@ class c_base_ajax extends c_base_array { * @see: t_base_return_value_exact::p_s_value_exact() */ public static function s_value_exact($return) { - return self::p_s_value_exact($return, __CLASS__, ''); + return self::p_s_value_exact($return, __CLASS__, []); } } diff --git a/common/base/classes/base_database.php b/common/base/classes/base_database.php index d5eaff5..9ad24d6 100644 --- a/common/base/classes/base_database.php +++ b/common/base/classes/base_database.php @@ -646,7 +646,7 @@ class c_base_database extends c_base_return { * @see: t_base_return_value_exact::p_s_value_exact() */ public static function s_value_exact($return) { - return self::p_s_value_exact($return, __CLASS__, []); + return self::p_s_value_exact($return, __CLASS__, NULL); } /** diff --git a/common/base/classes/base_debug.php b/common/base/classes/base_debug.php index 1121f65..5a30b60 100644 --- a/common/base/classes/base_debug.php +++ b/common/base/classes/base_debug.php @@ -77,7 +77,7 @@ class c_base_debug extends c_base_return { * @see: t_base_return_value_exact::p_s_value_exact() */ public static function s_value_exact($return) { - return self::p_s_value_exact($return, __CLASS__, ''); + return self::p_s_value_exact($return, __CLASS__, NULL); } /** diff --git a/common/base/classes/base_form.php b/common/base/classes/base_form.php index 5399e09..1ea9ab1 100644 --- a/common/base/classes/base_form.php +++ b/common/base/classes/base_form.php @@ -59,7 +59,7 @@ class c_base_form_problem extends c_base_return_string { * @see: t_base_return_value_exact::p_s_value_exact() */ public static function s_value_exact($return) { - return self::p_s_value_exact($return, __CLASS__, []); + return self::p_s_value_exact($return, __CLASS__, ''); } /** diff --git a/common/base/classes/base_html.php b/common/base/classes/base_html.php index 8bbe081..e4e3d3d 100644 --- a/common/base/classes/base_html.php +++ b/common/base/classes/base_html.php @@ -75,7 +75,7 @@ class c_base_html extends c_base_return { * @see: t_base_return_value_exact::p_s_value_exact() */ public static function s_value_exact($return) { - return self::p_s_value_exact($return, __CLASS__, ''); + return self::p_s_value_exact($return, __CLASS__, NULL); } /** diff --git a/common/base/classes/base_ldap.php b/common/base/classes/base_ldap.php index 85b48b8..b4ff859 100644 --- a/common/base/classes/base_ldap.php +++ b/common/base/classes/base_ldap.php @@ -65,7 +65,7 @@ class c_base_ldap extends c_base_return { * @see: t_base_return_value_exact::p_s_value_exact() */ public static function s_value_exact($return) { - return self::p_s_value_exact($return, __CLASS__, ''); + return self::p_s_value_exact($return, __CLASS__, NULL); } /** diff --git a/common/base/classes/base_log.php b/common/base/classes/base_log.php index 2427d83..872fd73 100644 --- a/common/base/classes/base_log.php +++ b/common/base/classes/base_log.php @@ -117,7 +117,7 @@ class c_base_log extends c_base_return_array { * @see: t_base_return_value_exact::p_s_value_exact() */ public static function s_value_exact($return) { - return self::p_s_value_exact($return, __CLASS__, ''); + return self::p_s_value_exact($return, __CLASS__, []); } /** diff --git a/common/base/classes/base_menu.php b/common/base/classes/base_menu.php index 380fb09..51006cf 100644 --- a/common/base/classes/base_menu.php +++ b/common/base/classes/base_menu.php @@ -38,7 +38,7 @@ class c_base_menu extends c_base_rfc_string { * @see: t_base_return_value_exact::p_s_value_exact() */ public static function s_value_exact($return) { - return self::p_s_value_exact($return, __CLASS__, []); + return self::p_s_value_exact($return, __CLASS__, ''); } /** diff --git a/common/base/classes/base_path.php b/common/base/classes/base_path.php index a4d3ab8..c0266d8 100644 --- a/common/base/classes/base_path.php +++ b/common/base/classes/base_path.php @@ -188,7 +188,7 @@ class c_base_path extends c_base_rfc_string { * @see: t_base_return_value_exact::p_s_value_exact() */ public static function s_value_exact($return) { - return self::p_s_value_exact($return, __CLASS__, []); + return self::p_s_value_exact($return, __CLASS__, ''); } /** diff --git a/common/base/classes/base_paths.php b/common/base/classes/base_paths.php index b570364..8e148b0 100644 --- a/common/base/classes/base_paths.php +++ b/common/base/classes/base_paths.php @@ -64,7 +64,7 @@ class c_base_paths extends c_base_return { * @see: t_base_return_value_exact::p_s_value_exact() */ public static function s_value_exact($return) { - return self::p_s_value_exact($return, __CLASS__, []); + return self::p_s_value_exact($return, __CLASS__, NULL); } /** diff --git a/common/base/classes/base_rfc_char.php b/common/base/classes/base_rfc_char.php index bc62980..bc11f74 100644 --- a/common/base/classes/base_rfc_char.php +++ b/common/base/classes/base_rfc_char.php @@ -62,7 +62,7 @@ abstract class c_base_rfc_char extends c_base_return { * @see: t_base_return_value_exact::p_s_value_exact() */ public static function s_value_exact($return) { - return self::p_s_value_exact($return, __CLASS__, ''); + return self::p_s_value_exact($return, __CLASS__, NULL); } /** diff --git a/common/base/classes/base_rfc_string.php b/common/base/classes/base_rfc_string.php index 29f977a..b3bbe8f 100644 --- a/common/base/classes/base_rfc_string.php +++ b/common/base/classes/base_rfc_string.php @@ -63,7 +63,7 @@ abstract class c_base_rfc_string extends c_base_rfc_char { * @see: t_base_return_value_exact::p_s_value_exact() */ public static function s_value_exact($return) { - return self::p_s_value_exact($return, __CLASS__, ''); + return self::p_s_value_exact($return, __CLASS__, NULL); } /** diff --git a/common/base/classes/base_roles.php b/common/base/classes/base_roles.php index a12bc60..6f6feca 100644 --- a/common/base/classes/base_roles.php +++ b/common/base/classes/base_roles.php @@ -123,7 +123,7 @@ class c_base_roles extends c_base_return { * @see: t_base_return_value_exact::p_s_value_exact() */ public static function s_value_exact($return) { - return self::p_s_value_exact($return, __CLASS__, []); + return self::p_s_value_exact($return, __CLASS__, NULL); } /** diff --git a/common/base/classes/base_session.php b/common/base/classes/base_session.php index bb2ba80..c164e63 100644 --- a/common/base/classes/base_session.php +++ b/common/base/classes/base_session.php @@ -153,7 +153,7 @@ class c_base_session extends c_base_return { * @see: t_base_return_value_exact::p_s_value_exact() */ public static function s_value_exact($return) { - return self::p_s_value_exact($return, __CLASS__, []); + return self::p_s_value_exact($return, __CLASS__, NULL); } /** diff --git a/common/base/classes/base_users.php b/common/base/classes/base_users.php index 4121f3f..83a376b 100644 --- a/common/base/classes/base_users.php +++ b/common/base/classes/base_users.php @@ -876,7 +876,7 @@ class c_base_users_user_name extends c_base_return { * @see: t_base_return_value_exact::p_s_value_exact() */ public static function s_value_exact($return) { - return self::p_s_value_exact($return, __CLASS__, []); + return self::p_s_value_exact($return, __CLASS__, NULL); } /** diff --git a/common/base/classes/base_view.php b/common/base/classes/base_view.php index 9d39c8f..5fcb561 100644 --- a/common/base/classes/base_view.php +++ b/common/base/classes/base_view.php @@ -37,7 +37,7 @@ class c_base_view extends c_base_array { * @see: t_base_return_value_exact::p_s_value_exact() */ public static function s_value_exact($return) { - return self::p_s_value_exact($return, __CLASS__, ''); + return self::p_s_value_exact($return, __CLASS__, []); } /** diff --git a/common/standard/classes/standard_index.php b/common/standard/classes/standard_index.php index 6ce41ec..fc64e8e 100644 --- a/common/standard/classes/standard_index.php +++ b/common/standard/classes/standard_index.php @@ -175,7 +175,7 @@ class c_standard_index extends c_base_return { * @see: t_base_return_value_exact::p_s_value_exact() */ public static function s_value_exact($return) { - return self::p_s_value_exact($return, __CLASS__, []); + return self::p_s_value_exact($return, __CLASS__, NULL); } /** diff --git a/common/standard/classes/standard_menu.php b/common/standard/classes/standard_menu.php index eae7ec2..c957d67 100644 --- a/common/standard/classes/standard_menu.php +++ b/common/standard/classes/standard_menu.php @@ -46,7 +46,7 @@ class c_standard_menu extends c_base_menu { * @see: t_base_return_value_exact::p_s_value_exact() */ public static function s_value_exact($return) { - return self::p_s_value_exact($return, __CLASS__, []); + return self::p_s_value_exact($return, __CLASS__, ''); } /** diff --git a/common/standard/classes/standard_paths.php b/common/standard/classes/standard_paths.php index 910e192..16a875c 100644 --- a/common/standard/classes/standard_paths.php +++ b/common/standard/classes/standard_paths.php @@ -235,7 +235,7 @@ class c_standard_paths extends c_base_return { * @see: t_base_return_value_exact::p_s_value_exact() */ public static function s_value_exact($return) { - return self::p_s_value_exact($return, __CLASS__, []); + return self::p_s_value_exact($return, __CLASS__, NULL); } /** diff --git a/common/theme/classes/theme_html.php b/common/theme/classes/theme_html.php index b2c0589..c2edd3b 100644 --- a/common/theme/classes/theme_html.php +++ b/common/theme/classes/theme_html.php @@ -81,7 +81,7 @@ class c_theme_html extends c_base_return { * @see: t_base_return_value_exact::p_s_value_exact() */ public static function s_value_exact($return) { - return self::p_s_value_exact($return, __CLASS__, ''); + return self::p_s_value_exact($return, __CLASS__, NULL); } /** diff --git a/common/view/classes/view_log_users_self.php b/common/view/classes/view_log_users_self.php index cba668c..f120a79 100644 --- a/common/view/classes/view_log_users_self.php +++ b/common/view/classes/view_log_users_self.php @@ -54,7 +54,7 @@ class c_view_log_users_self extends c_base_view { * @see: t_base_return_value_exact::p_s_value_exact() */ public static function s_value_exact($return) { - return self::p_s_value_exact($return, __CLASS__, ''); + return self::p_s_value_exact($return, __CLASS__, []); } /** @@ -188,7 +188,7 @@ class c_view_log_users_self extends c_base_return { * @see: t_base_return_value_exact::p_s_value_exact() */ public static function s_value_exact($return) { - return self::p_s_value_exact($return, __CLASS__, ''); + return self::p_s_value_exact($return, __CLASS__, NULL); } /** -- 1.8.3.1