Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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(