From 329e9c714aec93d9404b3619ac240a366e9ffdbd Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 6 Dec 2006 05:17:30 +0000 Subject: [PATCH] Make some functions static like they should be --- Register.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Register.php b/Register.php index 8762761..fedb8ad 100644 --- a/Register.php +++ b/Register.php @@ -316,7 +316,7 @@ class BSRegister * * @return object Object in the registry of that type */ - public function GetType($class) + public static function GetType($class) { $class = 'BS' . $class; foreach (self::Instance()->registry AS $key => $object) @@ -540,7 +540,7 @@ class BSRegister * * @param array Array of module names to check for loadedness */ - public function RequiredModules($modules) + public static function RequiredModules($modules) { foreach ($modules AS $module) { -- 2.22.5