summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-11-14 14:49:24 +0100
committerMorris Jobke <hey@morrisjobke.de>2017-11-14 14:49:24 +0100
commitf6ef3b646457c1194e3550fdf2cd14a839ee273a (patch)
tree3d3df2bc93c06b98fcb7fdecb8f1d4d26a2d7bd3
parentad757805ca3c6556dd912881d5469b97b1f66171 (diff)
downloadnextcloud-server-f6ef3b646457c1194e3550fdf2cd14a839ee273a.tar.gz
nextcloud-server-f6ef3b646457c1194e3550fdf2cd14a839ee273a.zip
add proper type hinting
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
-rw-r--r--lib/private/Support/CrashReport/Registry.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Support/CrashReport/Registry.php b/lib/private/Support/CrashReport/Registry.php
index e90e82958d1..670cea3da0e 100644
--- a/lib/private/Support/CrashReport/Registry.php
+++ b/lib/private/Support/CrashReport/Registry.php
@@ -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);
}