Enforce DI

This commit is contained in:
Lance Pioch
2024-10-19 17:22:03 -04:00
parent 207d875df8
commit 54ea55d426
25 changed files with 128 additions and 69 deletions

View File

@@ -62,6 +62,7 @@ class DisplayException extends PanelException implements HttpExceptionInterface
return response()->json(Handler::toArray($this), $this->getStatusCode(), $this->getHeaders());
}
// @phpstan-ignore-next-line
app(AlertsMessageBag::class)->danger($this->getMessage())->flash();
return redirect()->back()->withInput();