Apply fixes from StyleCI

[ci skip] [skip ci]
This commit is contained in:
HDVinnie
2020-01-08 16:28:32 +00:00
committed by StyleCI Bot
parent 5745283f62
commit 9a893662de
215 changed files with 1252 additions and 961 deletions
+3 -3
View File
@@ -87,7 +87,7 @@ class ImageController extends Controller
$image = Image::findOrFail($id);
$filename = $image->image;
if (! file_exists(getcwd().'/files/img/'.$filename)) {
if (!file_exists(getcwd().'/files/img/'.$filename)) {
return redirect()->route('show_album', ['id' => $image->album_id])
->withErrors('Image File Not Found! Please Report This To Staff!');
}
@@ -101,8 +101,8 @@ class ImageController extends Controller
/**
* Delete A Image.
*
* @param \Illuminate\Http\Request $request
* @param $id
* @param \Illuminate\Http\Request $request
* @param $id
*
* @return Illuminate\Http\RedirectResponse
*/