]>
BookStack Code Mirror - bookstack/blobdiff - app/Entities/Controllers/PageApiController.php
projects
/
bookstack
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Maintenance: Updated larastan target level, fixed issues from tests
[bookstack]
/
app
/
Entities
/
Controllers
/
PageApiController.php
diff --git
a/app/Entities/Controllers/PageApiController.php
b/app/Entities/Controllers/PageApiController.php
index 40598e2098375afc564f35a371eb22048ef50925..8fcba3dc6a1563e54075c6b9057831e4a16a39d5 100644
(file)
--- a/
app/Entities/Controllers/PageApiController.php
+++ b/
app/Entities/Controllers/PageApiController.php
@@
-12,7
+12,7
@@
use Illuminate\Http\Request;
class PageApiController extends ApiController
{
- protected $rules = [
+ protected
array
$rules = [
'create' => [
'book_id' => ['required_without:chapter_id', 'integer'],
'chapter_id' => ['required_without:book_id', 'integer'],