nextcloud/core/Controller
Morris Jobke 4ef302c0be
Request->getHeader() should always return a string
PHPDoc (of the public API) says that this method returns string but it also returns null, which is not allowed in some method calls. This fixes that behaviour and returns an empty string and fixes all code paths that explicitly checked for null to be still compliant.

Found while enabling the strict_typing for lib/private for the PHP7+ migration.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-01-17 09:51:31 +01:00
..
AutoCompleteController.php don't create sorter instances when none was requested 2017-11-28 13:30:51 +01:00
AvatarController.php Move avatar code to Avatar Class 2017-11-29 14:23:15 +01:00
ClientFlowLoginController.php Request->getHeader() should always return a string 2018-01-17 09:51:31 +01:00
ContactsMenuController.php Change @georgehrke's email 2017-11-06 20:38:59 +01:00
CssController.php Request->getHeader() should always return a string 2018-01-17 09:51:31 +01:00
JsController.php Request->getHeader() should always return a string 2018-01-17 09:51:31 +01:00
LoginController.php Display message when connection is throttled on logi page 2018-01-15 21:43:09 +01:00
LostController.php never translate login names when requiring with a user id 2018-01-03 13:25:00 +01:00
OCJSController.php Use correct L10N files for jsconfig 2018-01-05 14:33:03 +01:00
OCSController.php Update license headers 2017-11-06 16:56:19 +01:00
PreviewController.php Update license headers 2017-11-06 16:56:19 +01:00
SetupController.php Update license headers 2017-11-06 16:56:19 +01:00
TwoFactorChallengeController.php Update license headers 2017-11-06 16:56:19 +01:00
UserController.php Update license headers 2017-11-06 16:56:19 +01:00
WalledGardenController.php Add 204 endpoint 2017-11-02 10:30:16 +01:00