mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-19 14:41:32 +00:00
Fix phpcs issues
This commit is contained in:
parent
50a9c71de0
commit
d3cd369247
2 changed files with 1 additions and 2 deletions
app
|
@ -577,7 +577,7 @@ class PermissionService
|
||||||
$query2->where('has_permission_own', '=', 1)
|
$query2->where('has_permission_own', '=', 1)
|
||||||
->where('created_by', '=', $userId);
|
->where('created_by', '=', $userId);
|
||||||
});
|
});
|
||||||
}) ;
|
});
|
||||||
|
|
||||||
if (!is_null($entityClass)) {
|
if (!is_null($entityClass)) {
|
||||||
$entityInstance = app()->make($entityClass);
|
$entityInstance = app()->make($entityClass);
|
||||||
|
|
|
@ -108,7 +108,6 @@ class BookController extends Controller
|
||||||
|
|
||||||
$shelfBooks = $this->entityRepo->getBookshelfChildren($bookshelf);
|
$shelfBooks = $this->entityRepo->getBookshelfChildren($bookshelf);
|
||||||
$shelfBookIds = $shelfBooks->pluck('id');
|
$shelfBookIds = $shelfBooks->pluck('id');
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$bookshelf = null;
|
$bookshelf = null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue