diff options
author | Simon Holywell <[email protected]> | 2013-01-30 09:38:27 +0000 |
---|---|---|
committer | Simon Holywell <[email protected]> | 2013-01-30 09:38:27 +0000 |
commit | 3bfc44ca5c9816219de0510b1c9f02431616e8c0 (patch) | |
tree | f340adaee78a381d50992867ec0db3e88c3a4f71 | |
parent | 25abc1a0133bbd7b2db6252375725b0701b27864 (diff) |
Fix code style on method definitions
-rw-r--r-- | idiorm.php | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -206,8 +206,7 @@ * @param string $connection_name Which connection to use * @return ORM */ - public static function for_table($table_name, $connection_name = self::DEFAULT_CONNECTION) - { + public static function for_table($table_name, $connection_name = self::DEFAULT_CONNECTION) { self::_setup_db($connection_name); return new self($table_name, array(), $connection_name); } @@ -216,8 +215,7 @@ * Set up the database connection used by the class * @param string $connection_name Which connection to use */ - protected static function _setup_db($connection_name = self::DEFAULT_CONNECTION) - { + protected static function _setup_db($connection_name = self::DEFAULT_CONNECTION) { if (!array_key_exists($connection_name, self::$_db) || !is_object(self::$_db[$connection_name])) { self::_setup_db_config($connection_name); |