server/tests/Core
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
..
Command Fix tests 2017-12-18 21:06:52 +01:00
Controller Request->getHeader() should always return a string 2018-01-17 09:51:31 +01:00
Middleware Use ::class in test mocks 2017-10-24 17:45:32 +02:00