diff options
author | Felix Moeller <mail@felixmoeller.de> | 2012-10-23 00:28:12 +0200 |
---|---|---|
committer | Felix Moeller <mail@felixmoeller.de> | 2012-10-23 00:28:12 +0200 |
commit | 6a00a6b9ed49f9a9da044772e7ca7f3506672100 (patch) | |
tree | 2c0b0a57af5befe1c8153296cbcad3ff7c6ff4cf /lib/vobject.php | |
parent | 03581ef463184081f8faa3f86bb6d21ee8bbc66d (diff) | |
download | nextcloud-server-6a00a6b9ed49f9a9da044772e7ca7f3506672100.tar.gz nextcloud-server-6a00a6b9ed49f9a9da044772e7ca7f3506672100.zip |
Make Jenkins more happy.
This is NoSpaceAfterComma
Diffstat (limited to 'lib/vobject.php')
-rw-r--r-- | lib/vobject.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/vobject.php b/lib/vobject.php index b5a04b4bf65..2ccf8eda685 100644 --- a/lib/vobject.php +++ b/lib/vobject.php @@ -62,7 +62,7 @@ class OC_VObject{ foreach($value as &$i ) { $i = implode("\\\\;", explode(';', $i)); } - return implode(';',$value); + return implode(';', $value); } /** @@ -71,15 +71,15 @@ class OC_VObject{ * @return array */ public static function unescapeSemicolons($value) { - $array = explode(';',$value); + $array = explode(';', $value); for($i=0;$i<count($array);$i++) { - if(substr($array[$i],-2,2)=="\\\\") { + if(substr($array[$i], -2, 2)=="\\\\") { if(isset($array[$i+1])) { - $array[$i] = substr($array[$i],0,count($array[$i])-2).';'.$array[$i+1]; + $array[$i] = substr($array[$i], 0, count($array[$i])-2).';'.$array[$i+1]; unset($array[$i+1]); } else{ - $array[$i] = substr($array[$i],0,count($array[$i])-2).';'; + $array[$i] = substr($array[$i], 0, count($array[$i])-2).';'; } $i = $i - 1; } @@ -127,8 +127,8 @@ class OC_VObject{ } public function setUID() { - $uid = substr(md5(rand().time()),0,10); - $this->vobject->add('UID',$uid); + $uid = substr(md5(rand().time()), 0, 10); + $this->vobject->add('UID', $uid); } public function setString($name, $string) { |