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:
Shift
2023-01-07 18:47:35 +00:00
parent da241bacb6
commit cade5f0d23
235 changed files with 14452 additions and 14844 deletions

View File

@@ -48,7 +48,6 @@ class OrganizationController extends Controller
* Display a listing of the resource.
*
* @param type Organization $org
*
* @return type Response
*/
public function index()
@@ -143,7 +142,6 @@ class OrganizationController extends Controller
*
* @param type Organization $org
* @param type OrganizationRequest $request
*
* @return type Redirect
*/
public function store(Organization $org, OrganizationRequest $request)
@@ -167,9 +165,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)
@@ -187,9 +184,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)
@@ -207,10 +203,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)
@@ -238,7 +233,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)
@@ -264,8 +258,7 @@ class OrganizationController extends Controller
/**
* Soring an organization head.
*
* @param type $id
*
* @param type $id
* @return type boolean
*/
public function Head_Org($id)
@@ -284,10 +277,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 = '')