Apply fixes from StyleCI
This commit is contained in:
@@ -63,7 +63,8 @@ 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)
|
||||
@@ -80,8 +81,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);
|
||||
}
|
||||
@@ -94,8 +95,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);
|
||||
}
|
||||
@@ -117,6 +118,7 @@ class SettingsController extends Controller
|
||||
* To Moderate the commenting.
|
||||
*
|
||||
* @param type Comment $comment
|
||||
*
|
||||
* @return Response
|
||||
*/
|
||||
public function comment(Comment $comment)
|
||||
@@ -165,8 +167,9 @@ 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)
|
||||
@@ -183,8 +186,9 @@ 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)
|
||||
|
Reference in New Issue
Block a user