mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Merge pull request #17179 from alisalehi1380/patch-2
add return type in wrapInDatabaseTransaction to Register page
This commit is contained in:
@@ -70,7 +70,7 @@ class Register extends SimplePage
|
||||
return null;
|
||||
}
|
||||
|
||||
$user = $this->wrapInDatabaseTransaction(function () {
|
||||
$user = $this->wrapInDatabaseTransaction(function (): Model {
|
||||
$this->callHook('beforeValidate');
|
||||
|
||||
$data = $this->form->getState();
|
||||
|
||||
Reference in New Issue
Block a user