diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-02-21 13:28:40 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-02-21 13:28:40 +0100 |
commit | 5825c27a120dbcf9c1fae80393b410c66696f9ed (patch) | |
tree | de9389db3043f801f884121007f324b28b5d4f89 /lib/public | |
parent | ca9f364fd4746093a38cdcaf2456f5f86aebb89f (diff) | |
download | nextcloud-server-5825c27a120dbcf9c1fae80393b410c66696f9ed.tar.gz nextcloud-server-5825c27a120dbcf9c1fae80393b410c66696f9ed.zip |
Make sure that render always returns a string
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/AppFramework/Http/Response.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/AppFramework/Http/Response.php b/lib/public/AppFramework/Http/Response.php index e47e01349e7..512b312dae1 100644 --- a/lib/public/AppFramework/Http/Response.php +++ b/lib/public/AppFramework/Http/Response.php @@ -232,11 +232,11 @@ class Response { /** * By default renders no output - * @return string|null + * @return string * @since 6.0.0 */ public function render() { - return null; + return ''; } |