A free open source IT asset/license management system
Small codacy fix
snipecd66ec63208d
diff --git a/tests/Support/MakesWatsonValidationLoud.php b/tests/Support/MakesWatsonValidationLoud.phpindex c7176988e1..0d1a77d82b 100644--- a/tests/Support/MakesWatsonValidationLoud.php+++ b/tests/Support/MakesWatsonValidationLoud.php@@ -24,7 +24,8 @@ trait MakesWatsonValidationLoud{protected function setUpMakesWatsonValidationLoud(): void{- Event::listen('eloquent.validated: *', function ($eventName, array $payload) {+ Event::listen('eloquent.validated: *', function () {+ [, $payload] = func_get_args();[$model, $status] = $payload;if ($status === 'failed' && method_exists($model, 'throwValidationException')) {