mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-18 06:11:03 +00:00
Re-structured the app code to be feature based rather than code type based
This commit is contained in:
parent
19751ed1cb
commit
919660678b
109 changed files with 684 additions and 531 deletions
app/Http/Controllers
|
@ -3,9 +3,9 @@
|
|||
use Exception;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Http\Response;
|
||||
use BookStack\Repos\UserRepo;
|
||||
use BookStack\Services\SocialAuthService;
|
||||
use BookStack\User;
|
||||
use BookStack\Auth\UserRepo;
|
||||
use BookStack\Auth\Access\SocialAuthService;
|
||||
use BookStack\Auth\User;
|
||||
|
||||
class UserController extends Controller
|
||||
{
|
||||
|
@ -16,7 +16,7 @@ class UserController extends Controller
|
|||
/**
|
||||
* UserController constructor.
|
||||
* @param User $user
|
||||
* @param UserRepo $userRepo
|
||||
* @param \BookStack\Auth\UserRepo $userRepo
|
||||
*/
|
||||
public function __construct(User $user, UserRepo $userRepo)
|
||||
{
|
||||
|
@ -101,7 +101,7 @@ class UserController extends Controller
|
|||
/**
|
||||
* Show the form for editing the specified user.
|
||||
* @param int $id
|
||||
* @param SocialAuthService $socialAuthService
|
||||
* @param \BookStack\Auth\Access\SocialAuthService $socialAuthService
|
||||
* @return Response
|
||||
*/
|
||||
public function edit($id, SocialAuthService $socialAuthService)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue