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 20:55:49 +00:00
parent 49021a4497
commit 0b263803ad
232 changed files with 14443 additions and 14827 deletions

View File

@@ -122,7 +122,6 @@ class PageController extends Controller
* To insert a value to the table Page.
*
* @param type Request $request
*
* @return type
*/
public function store(PageRequest $request)
@@ -143,8 +142,7 @@ class PageController extends Controller
/**
* To edit a page.
*
* @param type $slug
*
* @param type $slug
* @return type view
*/
public function edit($slug)
@@ -161,9 +159,8 @@ class PageController extends Controller
/**
* To update a page.
*
* @param type $slug
* @param type $slug
* @param type PageUpdate $request
*
* @return type redirect
*/
public function update($slug, PageRequest $request)
@@ -187,8 +184,7 @@ class PageController extends Controller
/**
* To Delete a Page.
*
* @param type $id
*
* @param type $id
* @return type redirect
*/
public function destroy($id)