From 84f3b60bb3bded019fb1d84e56b71195d32618c7 Mon Sep 17 00:00:00 2001 From: Tim Clifford Date: Wed, 27 Jan 2021 15:48:30 +0000 Subject: [PATCH] Update src/Audit/DatabaseExposure.php Co-authored-by: Dan Lemon --- src/Audit/DatabaseExposure.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Audit/DatabaseExposure.php b/src/Audit/DatabaseExposure.php index 9fec4d7..34b6f8b 100644 --- a/src/Audit/DatabaseExposure.php +++ b/src/Audit/DatabaseExposure.php @@ -130,7 +130,7 @@ public function audit(Sandbox $sandbox) { $sandbox->setParameter('plural', count($results) > 1 ? 's' : ''); if (empty($matches)) { - Audit::SUCCESS; + return Audit::SUCCESS; } return Audit::FAIL; }