X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/65d4505079c8c5616c98c14e795fe33acb95e8cf..refs/pull/3630/head:/app/Http/Controllers/Api/BookApiController.php diff --git a/app/Http/Controllers/Api/BookApiController.php b/app/Http/Controllers/Api/BookApiController.php index 939300697..15565c361 100644 --- a/app/Http/Controllers/Api/BookApiController.php +++ b/app/Http/Controllers/Api/BookApiController.php @@ -89,7 +89,8 @@ class BookApiController extends ApiController return response('', 204); } - protected function rules(): array { + protected function rules(): array + { return [ 'create' => [ 'name' => ['required', 'string', 'max:255'],