aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Util.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 13:53:40 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 13:54:22 +0200
commitafbd9c4e6ed834e713039f2cff88ba3eec03dadb (patch)
tree7d8721cf8fc0329d6b750db63798de67a162b090 /lib/public/Util.php
parent19e97e86c69ab128191439d6a17dacb5a630cf98 (diff)
downloadnextcloud-server-afbd9c4e6ed834e713039f2cff88ba3eec03dadb.tar.gz
nextcloud-server-afbd9c4e6ed834e713039f2cff88ba3eec03dadb.zip
Unify function spacing to PSR2 recommendation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/public/Util.php')
-rw-r--r--lib/public/Util.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/public/Util.php b/lib/public/Util.php
index f1008ad77c9..99161dfd72c 100644
--- a/lib/public/Util.php
+++ b/lib/public/Util.php
@@ -128,7 +128,7 @@ class Util {
* @since 4.0.0
* @deprecated 13.0.0 use log of \OCP\ILogger
*/
- public static function writeLog( $app, $message, $level ) {
+ public static function writeLog($app, $message, $level) {
$context = ['app' => $app];
\OC::$server->getLogger()->log($level, $message, $context);
}
@@ -170,7 +170,7 @@ class Util {
* @param string $file
* @since 4.0.0
*/
- public static function addStyle( $application, $file = null ) {
+ public static function addStyle($application, $file = null) {
\OC_Util::addStyle( $application, $file );
}
@@ -180,7 +180,7 @@ class Util {
* @param string $file
* @since 4.0.0
*/
- public static function addScript( $application, $file = null ) {
+ public static function addScript($application, $file = null) {
\OC_Util::addScript( $application, $file );
}
@@ -216,7 +216,7 @@ class Util {
* @return string the url
* @since 4.0.0 - parameter $args was added in 4.5.0
*/
- public static function linkToAbsolute( $app, $file, $args = [] ) {
+ public static function linkToAbsolute($app, $file, $args = []) {
$urlGenerator = \OC::$server->getURLGenerator();
return $urlGenerator->getAbsoluteURL(
$urlGenerator->linkTo($app, $file, $args)
@@ -229,7 +229,7 @@ class Util {
* @return string the url
* @since 4.0.0
*/
- public static function linkToRemote( $service ) {
+ public static function linkToRemote($service) {
$urlGenerator = \OC::$server->getURLGenerator();
$remoteBase = $urlGenerator->linkTo('', 'remote.php') . '/' . $service;
return $urlGenerator->getAbsoluteURL(