aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework/Http/JSONResponse.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/AppFramework/Http/JSONResponse.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/AppFramework/Http/JSONResponse.php')
-rw-r--r--lib/public/AppFramework/Http/JSONResponse.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/AppFramework/Http/JSONResponse.php b/lib/public/AppFramework/Http/JSONResponse.php
index 9451ef6677e..1d7a626d5cd 100644
--- a/lib/public/AppFramework/Http/JSONResponse.php
+++ b/lib/public/AppFramework/Http/JSONResponse.php
@@ -86,7 +86,7 @@ class JSONResponse extends Response {
* @return JSONResponse Reference to this object
* @since 6.0.0 - return value was added in 7.0.0
*/
- public function setData($data){
+ public function setData($data) {
$this->data = $data;
return $this;
@@ -98,7 +98,7 @@ class JSONResponse extends Response {
* @return array the data
* @since 6.0.0
*/
- public function getData(){
+ public function getData() {
return $this->data;
}