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 19:53:40 +00:00
parent 6307afde3d
commit 74bd29e1ee
235 changed files with 14443 additions and 14830 deletions

View File

@@ -73,7 +73,6 @@ class CannedController extends Controller
*
* @param type CannedRequest $request
* @param type Canned $canned
*
* @return type Redirect
*/
public function store(CannedRequest $request, Canned $canned)
@@ -95,9 +94,8 @@ class CannedController extends Controller
/**
* Show the form for editing the Canned Response.
*
* @param type $id
* @param type $id
* @param type Canned $canned
*
* @return type View
*/
public function edit($id, Canned $canned)
@@ -115,10 +113,9 @@ class CannedController extends Controller
/**
* Update the Canned Response in database.
*
* @param type $id
* @param type $id
* @param type CannedUpdateRequest $request
* @param type Canned $canned
*
* @return type Redirect
*/
public function update($id, CannedUpdateRequest $request, Canned $canned)
@@ -142,9 +139,8 @@ class CannedController extends Controller
/**
* Delete the Canned Response from storage.
*
* @param type $id
* @param type $id
* @param type Canned $canned
*
* @return type Redirect
*/
public function destroy($id, Canned $canned)
@@ -166,8 +162,7 @@ class CannedController extends Controller
/**
* Fetch Canned Response in the ticket detail page.
*
* @param type $id
*
* @param type $id
* @return type json
*/
public function get_canned($id)