1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Applied styleci changes for conversion work

This commit is contained in:
Dan Brown
2022-06-19 18:14:53 +01:00
parent 85f59b5275
commit ba25dda031
12 changed files with 12 additions and 14 deletions

View File

@ -167,7 +167,7 @@ class BookshelfController extends Controller
if ($request->has('image_reset')) {
$validated['image'] = null;
} else if (array_key_exists('image', $validated) && is_null($validated['image'])) {
} elseif (array_key_exists('image', $validated) && is_null($validated['image'])) {
unset($validated['image']);
}