add proper type hinting

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2017-11-14 14:49:24 +01:00
parent ad757805ca
commit f6ef3b6464
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ class Registry implements IRegistry {
* @param array $context
*/
public function delegateReport($exception, array $context = []) {
/** @var IReporter $reporter */
foreach ($this->reporters as $reporter) {
$reporter->report($exception, $context);
}