Apply Laravel coding style
Shift automatically applies the Laravel coding style - which uses the PSR-12 coding style as a base with some minor additions. You may customize the code style applied by configuring [Pint](https://laravel.com/docs/pint), [PHP CS Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer), or [PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) for your project root. For more information on customizing the code style applied by Shift, [watch this short video](https://laravelshift.com/videos/shift-code-style).
This commit is contained in:
@@ -41,7 +41,6 @@ class TeamController extends Controller
|
||||
*
|
||||
* @param type Teams $team
|
||||
* @param type Assign_team_agent $assign_team_agent
|
||||
*
|
||||
* @return type Response
|
||||
*/
|
||||
public function index(Teams $team, Assign_team_agent $assign_team_agent)
|
||||
@@ -62,7 +61,6 @@ class TeamController extends Controller
|
||||
* Show the form for creating a new resource.
|
||||
*
|
||||
* @param type User $user
|
||||
*
|
||||
* @return type Response
|
||||
*/
|
||||
public function create(User $user)
|
||||
@@ -81,7 +79,6 @@ class TeamController extends Controller
|
||||
*
|
||||
* @param type Teams $team
|
||||
* @param type TeamRequest $request
|
||||
*
|
||||
* @return type Response
|
||||
*/
|
||||
public function store(Teams $team, TeamRequest $request)
|
||||
@@ -96,7 +93,7 @@ class TeamController extends Controller
|
||||
'team_lead' => $team_lead,
|
||||
]);
|
||||
Assign_team_agent::create([
|
||||
'team_id' => $team_update->id,
|
||||
'team_id' => $team_update->id,
|
||||
'agent_id' => $team_lead,
|
||||
]);
|
||||
} else {
|
||||
@@ -114,11 +111,10 @@ class TeamController extends Controller
|
||||
/**
|
||||
* Show the form for editing the specified resource.
|
||||
*
|
||||
* @param type $id
|
||||
* @param type $id
|
||||
* @param type User $user
|
||||
* @param type Assign_team_agent $assign_team_agent
|
||||
* @param type Teams $team
|
||||
*
|
||||
* @return type Response
|
||||
*/
|
||||
public function show($id, User $user, Assign_team_agent $assign_team_agent, Teams $team)
|
||||
@@ -200,11 +196,10 @@ class TeamController extends Controller
|
||||
/**
|
||||
* Show the form for editing the specified resource.
|
||||
*
|
||||
* @param type $id
|
||||
* @param type $id
|
||||
* @param type User $user
|
||||
* @param type Assign_team_agent $assign_team_agent
|
||||
* @param type Teams $team
|
||||
*
|
||||
* @return type Response
|
||||
*/
|
||||
public function edit($id, User $user, Assign_team_agent $assign_team_agent, Teams $team)
|
||||
@@ -232,7 +227,6 @@ class TeamController extends Controller
|
||||
* @param type int $id
|
||||
* @param type Teams $team
|
||||
* @param type TeamUpdate $request
|
||||
*
|
||||
* @return type Response
|
||||
*/
|
||||
public function update($id, Teams $team, TeamUpdate $request)
|
||||
@@ -268,7 +262,6 @@ class TeamController extends Controller
|
||||
* @param type int $id
|
||||
* @param type Teams $team
|
||||
* @param type Assign_team_agent $assign_team_agent
|
||||
*
|
||||
* @return type Response
|
||||
*/
|
||||
public function destroy($id, Teams $team, Assign_team_agent $assign_team_agent)
|
||||
|
Reference in New Issue
Block a user