Refactor getRedirectUrl method to ensure URL is treated as a string

This commit is contained in:
nurmuhammet committed 2025-11-07 01:17:01 +05:00
1 parent 8c33cc6645
commit 96415c2bc1
1 file changed
+1 -1
@@ -23,7 +23,7 @@ protected function getFormActions(): array
protected function getRedirectUrl(): string
{
$defaultUrl = $this->getResource()::getUrl('index');
$defaultUrl = string($this->getResource()::getUrl('index'));
/** @var \App\Modules\CardOrder\Models\CardOrder */
$record = $this->record;