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-06 11:53:02 +00:00
parent af15afd97d
commit 21910f2106
235 changed files with 14381 additions and 14773 deletions

View File

@@ -63,8 +63,7 @@ class SettingsController extends Controller
/**
* Update the specified resource in storage.
*
* @param int $id
*
* @param int $id
* @return Response
*/
public function postSettings($id, Settings $settings, SettingsRequests $request)
@@ -81,8 +80,8 @@ class SettingsController extends Controller
$settings->logo = $fileName;
//$thDestinationPath = 'dist/th';
Image::make($destinationPath.'/'.$fileName, [
'width' => 300,
'height' => 300,
'width' => 300,
'height' => 300,
'grayscale' => false,
])->save('lb-faveo/dist/image/'.$fileName);
}
@@ -95,8 +94,8 @@ class SettingsController extends Controller
$settings->background = $fileName;
//$thDestinationPath = 'dist/th';
Image::make($destinationPath.'/'.$fileName, [
'width' => 300,
'height' => 300,
'width' => 300,
'height' => 300,
'grayscale' => false,
])->save('lb-faveo/dist/image/'.$fileName);
}
@@ -118,7 +117,6 @@ class SettingsController extends Controller
* To Moderate the commenting.
*
* @param type Comment $comment
*
* @return Response
*/
public function comment(Comment $comment)
@@ -167,9 +165,8 @@ class SettingsController extends Controller
/**
* Admin can publish the comment.
*
* @param type $id
* @param type $id
* @param type Comment $comment
*
* @return bool
*/
public function publish($id, Comment $comment)
@@ -186,9 +183,8 @@ class SettingsController extends Controller
/**
* delete the comment.
*
* @param type $id
* @param type $id
* @param type Comment $comment
*
* @return type
*/
public function delete($id, Comment $comment)