Use "string|false" as @return instead of "string|bool" where appropiate
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 1 Apr 2015 08:48:30 +0000 (09:48 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Wed, 1 Apr 2015 08:48:30 +0000 (09:48 +0100)
commit532337e6ff57b280a845ab35036527ffbcc58c73
tree67286fd19cd883dd480032f45e33e09b476d25cb
parentc26e5206e24813ca86b3b72fee6ebcdfb98288be
Use "string|false" as @return instead of "string|bool" where appropiate

This makes sure static analyzers don't warn for supposedly unsafe
code accessing variables as strings when they could be boolean after
having only checked against false.

https://github.com/scrutinizer-ci/php-analyzer/issues/605

Change-Id: Idb676de7587f1eccb46c12de0131bea4489a0785
includes/exception/MWExceptionHandler.php
includes/json/FormatJson.php