mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-07 23:44:17 +09:00
Add type hints from DocBlocks
This commit is contained in:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user