summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 16:07:47 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 16:07:47 +0200
commit44577e4345066952622feca9ef69c24fc23d08ab (patch)
tree362160e9a6cf5c55eb1a2cca5aa32fb3bac336ad /lib/public
parent42625a46be495ea1c60ac8fe8e13946fd9ed9732 (diff)
downloadnextcloud-server-44577e4345066952622feca9ef69c24fc23d08ab.tar.gz
nextcloud-server-44577e4345066952622feca9ef69c24fc23d08ab.zip
Remove trailing and in between spaces
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/App.php8
-rw-r--r--lib/public/AppFramework/Db/Mapper.php2
-rw-r--r--lib/public/AppFramework/Db/QBMapper.php2
-rw-r--r--lib/public/Files.php6
-rw-r--r--lib/public/Util.php4
5 files changed, 11 insertions, 11 deletions
diff --git a/lib/public/App.php b/lib/public/App.php
index 7d55729c473..8e4a983c6bf 100644
--- a/lib/public/App.php
+++ b/lib/public/App.php
@@ -57,7 +57,7 @@ class App {
* @deprecated 14.0.0 Use settings section in appinfo.xml to register personal admin sections
*/
public static function registerPersonal($app, $page) {
- \OC_App::registerPersonal( $app, $page );
+ \OC_App::registerPersonal($app, $page);
}
/**
@@ -69,7 +69,7 @@ class App {
* @deprecated 14.0.0 Use settings section in appinfo.xml to register admin sections
*/
public static function registerAdmin($app, $page) {
- \OC_App::registerAdmin( $app, $page );
+ \OC_App::registerAdmin($app, $page);
}
/**
@@ -81,7 +81,7 @@ class App {
* @since 4.0.0
*/
public static function getAppInfo($app, $path=false) {
- return \OC_App::getAppInfo( $app, $path);
+ return \OC_App::getAppInfo($app, $path);
}
/**
@@ -94,7 +94,7 @@ class App {
* @deprecated 13.0.0 use \OC::$server->getAppManager()->isEnabledForUser($appId)
*/
public static function isEnabled($app) {
- return \OC::$server->getAppManager()->isEnabledForUser( $app );
+ return \OC::$server->getAppManager()->isEnabledForUser($app);
}
/**
diff --git a/lib/public/AppFramework/Db/Mapper.php b/lib/public/AppFramework/Db/Mapper.php
index 6d35c99d672..289ac1d684d 100644
--- a/lib/public/AppFramework/Db/Mapper.php
+++ b/lib/public/AppFramework/Db/Mapper.php
@@ -285,7 +285,7 @@ abstract class Mapper {
$row2 = $stmt->fetch();
$stmt->closeCursor();
//MDB2 returns null, PDO and doctrine false when no row is available
- if( ! ($row2 === false || $row2 === null )) {
+ if(! ($row2 === false || $row2 === null)) {
$msg = $this->buildDebugMessage(
'Did not expect more than one result when executing', $sql, $params, $limit, $offset
);
diff --git a/lib/public/AppFramework/Db/QBMapper.php b/lib/public/AppFramework/Db/QBMapper.php
index d26fb090725..c7b4b877651 100644
--- a/lib/public/AppFramework/Db/QBMapper.php
+++ b/lib/public/AppFramework/Db/QBMapper.php
@@ -261,7 +261,7 @@ abstract class QBMapper {
$row2 = $cursor->fetch();
$cursor->closeCursor();
- if($row2 !== false ) {
+ if($row2 !== false) {
$msg = $this->buildDebugMessage(
'Did not expect more than one result when executing', $query
);
diff --git a/lib/public/Files.php b/lib/public/Files.php
index adadbcd7aba..a1ff8a6d5a9 100644
--- a/lib/public/Files.php
+++ b/lib/public/Files.php
@@ -55,7 +55,7 @@ class Files {
* @deprecated 14.0.0
*/
static public function rmdirr($dir) {
- return \OC_Helper::rmdirr( $dir );
+ return \OC_Helper::rmdirr($dir);
}
/**
@@ -90,7 +90,7 @@ class Files {
* @deprecated 14.0.0
*/
public static function streamCopy($source, $target) {
- list($count, ) = \OC_Helper::streamCopy( $source, $target );
+ list($count, ) = \OC_Helper::streamCopy($source, $target);
return $count;
}
@@ -115,6 +115,6 @@ class Files {
* @deprecated 14.0.0 use IAppData instead
*/
public static function getStorage($app) {
- return \OC_App::getStorage( $app );
+ return \OC_App::getStorage($app);
}
}
diff --git a/lib/public/Util.php b/lib/public/Util.php
index 99161dfd72c..4427e39b24b 100644
--- a/lib/public/Util.php
+++ b/lib/public/Util.php
@@ -171,7 +171,7 @@ class Util {
* @since 4.0.0
*/
public static function addStyle($application, $file = null) {
- \OC_Util::addStyle( $application, $file );
+ \OC_Util::addStyle($application, $file);
}
/**
@@ -181,7 +181,7 @@ class Util {
* @since 4.0.0
*/
public static function addScript($application, $file = null) {
- \OC_Util::addScript( $application, $file );
+ \OC_Util::addScript($application, $file);
}
/**