1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-27 06:01:54 +03:00

Remove redundant getImageValidationRules method

This commit is contained in:
TBK
2020-03-04 00:06:30 +01:00
parent 5cd56f63ff
commit d3737d5a87
5 changed files with 4 additions and 12 deletions

View File

@ -146,7 +146,7 @@ class BookshelfController extends Controller
$this->validate($request, [
'name' => 'required|string|max:255',
'description' => 'string|max:1000',
'image' => $this->imageRepo->getImageValidationRules(),
'image' => $this->getImageValidationRules(),
]);