From 90f29d6e671f4c24f75bdc4774f223c53bf0a46c Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Tue, 12 Apr 2011 08:47:44 +0200 Subject: first test for service factory --- src/SemanticScuttle/Service/Factory.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/SemanticScuttle') diff --git a/src/SemanticScuttle/Service/Factory.php b/src/SemanticScuttle/Service/Factory.php index d7ff1d4..b661cdb 100644 --- a/src/SemanticScuttle/Service/Factory.php +++ b/src/SemanticScuttle/Service/Factory.php @@ -107,6 +107,7 @@ class SemanticScuttle_Service_Factory /** * Loads self::$db if it is not loaded already. + * Dies if the connection could not be established. * * @return void */ @@ -141,7 +142,7 @@ class SemanticScuttle_Service_Factory /** * Returns sql database object * - * @return void + * @return sql_db Database instance */ public static function getDb() { -- cgit v1.2.3-54-g00ecf