diff options
author | Marvin Borner | 2018-05-23 22:23:28 +0200 |
---|---|---|
committer | Marvin Borner | 2018-05-23 22:23:28 +0200 |
commit | b66a61addb6c8e66cb26fcf74b532d68891267e4 (patch) | |
tree | 05e9449ff25bdc98f68105f41923ccb9f6ef5095 /main/app/sprinkles/core/src/Http | |
parent | 1d4ef435177a5f9b6d1a289800d933e49be0c550 (diff) |
Refactored code, many fixes and improvements in chat backend+frontend
Diffstat (limited to 'main/app/sprinkles/core/src/Http')
-rw-r--r-- | main/app/sprinkles/core/src/Http/Concerns/DeterminesContentType.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/app/sprinkles/core/src/Http/Concerns/DeterminesContentType.php b/main/app/sprinkles/core/src/Http/Concerns/DeterminesContentType.php index e963afa..06cf0b3 100644 --- a/main/app/sprinkles/core/src/Http/Concerns/DeterminesContentType.php +++ b/main/app/sprinkles/core/src/Http/Concerns/DeterminesContentType.php @@ -5,6 +5,7 @@ * @link https://github.com/userfrosting/UserFrosting * @license https://github.com/userfrosting/UserFrosting/blob/master/licenses/UserFrosting.md (MIT License) */ + namespace UserFrosting\Sprinkle\Core\Http\Concerns; use Psr\Http\Message\ServerRequestInterface; @@ -39,8 +40,7 @@ trait DeterminesContentType * @param ServerRequestInterface $request * @return string */ - protected function determineContentType(ServerRequestInterface $request, $ajaxDebug = false) - { + protected function determineContentType(ServerRequestInterface $request, $ajaxDebug = FALSE) { // For AJAX requests, if AJAX debugging is turned on, always return html if ($ajaxDebug && $request->isXhr()) { return 'text/html'; |