Refactor getRedirectUrl method to ensure URL is treated as a string
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user