summaryrefslogtreecommitdiffstats
path: root/lib/db.php
diff options
context:
space:
mode:
authorFelix Moeller <mail@felixmoeller.de>2012-11-02 19:53:02 +0100
committerFelix Moeller <mail@felixmoeller.de>2012-11-02 19:53:02 +0100
commitafadf93d317e27fd848f1e70d5849169f862aed9 (patch)
tree4a9ed633a7735a1be3cf33fdad31ab981fd64a6b /lib/db.php
parentd9e97610999ddf9f3a060b786f22d0abb054521e (diff)
downloadnextcloud-server-afadf93d317e27fd848f1e70d5849169f862aed9.tar.gz
nextcloud-server-afadf93d317e27fd848f1e70d5849169f862aed9.zip
Checkstyle: many fixes
Diffstat (limited to 'lib/db.php')
-rw-r--r--lib/db.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/db.php b/lib/db.php
index a43f2ad20b2..ba59985b756 100644
--- a/lib/db.php
+++ b/lib/db.php
@@ -115,7 +115,7 @@ class OC_DB {
$pass = OC_Config::getValue( "dbpassword", "" );
$type = OC_Config::getValue( "dbtype", "sqlite" );
if(strpos($host, ':')) {
- list($host, $port)=explode(':', $host,2);
+ list($host, $port)=explode(':', $host, 2);
}else{
$port=false;
}
@@ -767,8 +767,8 @@ class PDOStatementWrapper{
/**
* pass all other function directly to the PDOStatement
*/
- public function __call($name,$arguments) {
- return call_user_func_array(array($this->statement,$name), $arguments);
+ public function __call($name, $arguments) {
+ return call_user_func_array(array($this->statement, $name), $arguments);
}
/**