diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2020-04-09 15:53:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-09 15:53:09 +0200 |
commit | c56a273b39186c509c57ef6bec221d3c4e3d81d3 (patch) | |
tree | b2e4095e763874699646c2c90e41785c99b6f247 /core/Controller | |
parent | f0dd71ccd266ede38114d25be035abb3f2661fc8 (diff) | |
parent | afbd9c4e6ed834e713039f2cff88ba3eec03dadb (diff) | |
download | nextcloud-server-c56a273b39186c509c57ef6bec221d3c4e3d81d3.tar.gz nextcloud-server-c56a273b39186c509c57ef6bec221d3c4e3d81d3.zip |
Merge pull request #20383 from nextcloud/techdebt/function-spacing
Unify function spacing to PSR2 recommendation
Diffstat (limited to 'core/Controller')
-rw-r--r-- | core/Controller/LostController.php | 2 | ||||
-rw-r--r-- | core/Controller/PreviewController.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/Controller/LostController.php b/core/Controller/LostController.php index d7d9bc4c15c..e3d59951d4e 100644 --- a/core/Controller/LostController.php +++ b/core/Controller/LostController.php @@ -251,7 +251,7 @@ class LostController extends Controller { * @param string $user * @return JSONResponse */ - public function email($user){ + public function email($user) { if ($this->config->getSystemValue('lost_password_link', '') !== '') { return new JSONResponse($this->error($this->l10n->t('Password reset is disabled'))); } diff --git a/core/Controller/PreviewController.php b/core/Controller/PreviewController.php index 3fd1ce2c868..b92a82028cd 100644 --- a/core/Controller/PreviewController.php +++ b/core/Controller/PreviewController.php @@ -85,7 +85,7 @@ class PreviewController extends Controller { * @param string $mode * @return DataResponse|FileDisplayResponse */ - public function getPreview ( + public function getPreview( string $file = '', int $x = 32, int $y = 32, |