4ef302c0be
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> |
||
---|---|---|
.. | ||
Factory.php | ||
L10N.php | ||
L10NString.php | ||
LanguageNotFoundException.php |