aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework/Controller.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-10-05 15:12:57 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-10-05 20:25:24 +0200
commitd9015a8c94bfd71fe484618a06d276701d3bf9ff (patch)
tree3f7a1cd6ec2fd982dd02de71b76076f7f01cef70 /lib/public/AppFramework/Controller.php
parentd357f4b10fe1b59e1e07bb90641d647522c7bfe2 (diff)
downloadnextcloud-server-d9015a8c94bfd71fe484618a06d276701d3bf9ff.tar.gz
nextcloud-server-d9015a8c94bfd71fe484618a06d276701d3bf9ff.zip
Format code to a single space around binary operators
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/public/AppFramework/Controller.php')
-rw-r--r--lib/public/AppFramework/Controller.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/AppFramework/Controller.php b/lib/public/AppFramework/Controller.php
index db1f95634e0..2d941df975d 100644
--- a/lib/public/AppFramework/Controller.php
+++ b/lib/public/AppFramework/Controller.php
@@ -115,7 +115,7 @@ abstract class Controller {
* @since 7.0.0
* @since 9.1.0 Added default parameter
*/
- public function getResponderByHTTPHeader($acceptHeader, $default='json') {
+ public function getResponderByHTTPHeader($acceptHeader, $default = 'json') {
$headers = explode(',', $acceptHeader);
// return the first matching responder
@@ -154,7 +154,7 @@ abstract class Controller {
* @return Response
* @since 7.0.0
*/
- public function buildResponse($response, $format='json') {
+ public function buildResponse($response, $format = 'json') {
if (array_key_exists($format, $this->responders)) {
$responder = $this->responders[$format];