Add type hints from DocBlocks

This commit is contained in:
Shift
2024-02-16 21:13:14 +00:00
parent 2cb837e4b5
commit 3487f52a6b
13 changed files with 24 additions and 24 deletions

View File

@@ -60,7 +60,7 @@ class RegisterController extends Controller
* @param array $data
* @return User
*/
protected function create(array $data)
protected function create(array $data): User
{
return User::create([
'name' => $data['name'],