app/Users/Controllers/UserController.php
Method update
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function update(Request $request, int $id)
{
$this->preventAccessInDemoMode();
$this->checkPermission('users-manage');
Method store
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function store(Request $request)
{
$this->checkPermission('users-manage');
$authMethod = config('auth.method');