nextcloud/lib/private/AppFramework
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
..
DependencyInjection Remove deprecated core API 2018-01-15 17:54:50 +01:00
Http Request->getHeader() should always return a string 2018-01-17 09:51:31 +01:00
Middleware Move passwordconfirmation to its own midleware 2018-01-02 21:58:14 +01:00
OCS Add trict CSP to OCS responses 2016-09-15 13:11:36 +02:00
Routing Revert "Match slashes in ../{id} resource routes" 2017-04-18 21:50:36 +02:00
Utility Make the ITimeFactory strict + return types 2018-01-14 21:55:40 +01:00
App.php Update license headers 2017-11-06 16:56:19 +01:00
Http.php Update license headers 2017-11-06 16:56:19 +01:00