aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework/Controller.php
diff options
context:
space:
mode:
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];