aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Template/Base.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/private/Template/Base.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/private/Template/Base.php')
-rw-r--r--lib/private/Template/Base.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/Template/Base.php b/lib/private/Template/Base.php
index 9ac74ffc60c..ddbe58b6d9d 100644
--- a/lib/private/Template/Base.php
+++ b/lib/private/Template/Base.php
@@ -48,7 +48,7 @@ class Base {
* @param \OCP\IL10N $l10n
* @param Defaults $theme
*/
- public function __construct($template, $requestToken, $l10n, $theme ) {
+ public function __construct($template, $requestToken, $l10n, $theme) {
$this->vars = [];
$this->vars['requesttoken'] = $requestToken;
$this->l10n = $l10n;
@@ -100,7 +100,7 @@ class Base {
*
* If the key existed before, it will be overwritten
*/
- public function assign( $key, $value) {
+ public function assign($key, $value) {
$this->vars[$key] = $value;
return true;
}
@@ -114,7 +114,7 @@ class Base {
* exists, the value will be appended. It can be accessed via
* $_[$key][$position] in the template.
*/
- public function append( $key, $value ) {
+ public function append($key, $value) {
if( array_key_exists( $key, $this->vars )) {
$this->vars[$key][] = $value;
}