Refactor getRedirectUrl method to ensure URL is treated as a string

This commit is contained in:
2025-11-07 01:17:01 +05:00
parent 8c33cc6645
commit 96415c2bc1

View File

@@ -23,7 +23,7 @@ class CreateCardOrder extends CreateRecord
protected function getRedirectUrl(): string
{
$defaultUrl = $this->getResource()::getUrl('index');
$defaultUrl = string($this->getResource()::getUrl('index'));
/** @var \App\Modules\CardOrder\Models\CardOrder */
$record = $this->record;