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:
@@ -49,7 +49,6 @@ class OrganizationController extends Controller
|
||||
* Display a listing of the resource.
|
||||
*
|
||||
* @param type Organization $org
|
||||
*
|
||||
* @return type Response
|
||||
*/
|
||||
public function index()
|
||||
@@ -144,7 +143,6 @@ class OrganizationController extends Controller
|
||||
*
|
||||
* @param type Organization $org
|
||||
* @param type OrganizationRequest $request
|
||||
*
|
||||
* @return type Redirect
|
||||
*/
|
||||
public function store(Organization $org, OrganizationRequest $request)
|
||||
@@ -168,9 +166,8 @@ class OrganizationController extends Controller
|
||||
/**
|
||||
* Display the specified organization.
|
||||
*
|
||||
* @param type $id
|
||||
* @param type $id
|
||||
* @param type Organization $org
|
||||
*
|
||||
* @return type view
|
||||
*/
|
||||
public function show($id, Organization $org)
|
||||
@@ -188,9 +185,8 @@ class OrganizationController extends Controller
|
||||
/**
|
||||
* Show the form for editing the specified organization.
|
||||
*
|
||||
* @param type $id
|
||||
* @param type $id
|
||||
* @param type Organization $org
|
||||
*
|
||||
* @return type view
|
||||
*/
|
||||
public function edit($id, Organization $org)
|
||||
@@ -208,10 +204,9 @@ class OrganizationController extends Controller
|
||||
/**
|
||||
* Update the specified organization in storage.
|
||||
*
|
||||
* @param type $id
|
||||
* @param type $id
|
||||
* @param type Organization $org
|
||||
* @param type OrganizationUpdate $request
|
||||
*
|
||||
* @return type Redirect
|
||||
*/
|
||||
public function update($id, Organization $org, OrganizationUpdate $request)
|
||||
@@ -239,7 +234,6 @@ class OrganizationController extends Controller
|
||||
* Delete a specified organization from storage.
|
||||
*
|
||||
* @param type int $id
|
||||
*
|
||||
* @return type Redirect
|
||||
*/
|
||||
public function destroy($id, Organization $org, User_org $user_org)
|
||||
@@ -265,8 +259,7 @@ class OrganizationController extends Controller
|
||||
/**
|
||||
* Soring an organization head.
|
||||
*
|
||||
* @param type $id
|
||||
*
|
||||
* @param type $id
|
||||
* @return type boolean
|
||||
*/
|
||||
public function Head_Org($id)
|
||||
@@ -285,10 +278,9 @@ class OrganizationController extends Controller
|
||||
/**
|
||||
* get the report of organizations.
|
||||
*
|
||||
* @param type $id
|
||||
* @param type $date111
|
||||
* @param type $date122
|
||||
*
|
||||
* @param type $id
|
||||
* @param type $date111
|
||||
* @param type $date122
|
||||
* @return type array
|
||||
*/
|
||||
public function orgChartData($id, $date111 = '', $date122 = '')
|
||||
|
Reference in New Issue
Block a user