]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/Api/BookApiController.php
Added 'Sort Book' action to chapters
[bookstack] / app / Http / Controllers / Api / BookApiController.php
index 9393006979ee1997b844b305d6c001dcddc934ed..15565c361f2ed6f3076a6dae6da92650c27f9901 100644 (file)
@@ -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'],