mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-26 12:16:07 +00:00
Fix phpcs issues
This commit is contained in:
parent
50a9c71de0
commit
d3cd369247
@ -577,7 +577,7 @@ class PermissionService
|
||||
$query2->where('has_permission_own', '=', 1)
|
||||
->where('created_by', '=', $userId);
|
||||
});
|
||||
}) ;
|
||||
});
|
||||
|
||||
if (!is_null($entityClass)) {
|
||||
$entityInstance = app()->make($entityClass);
|
||||
|
@ -108,7 +108,6 @@ class BookController extends Controller
|
||||
|
||||
$shelfBooks = $this->entityRepo->getBookshelfChildren($bookshelf);
|
||||
$shelfBookIds = $shelfBooks->pluck('id');
|
||||
|
||||
} else {
|
||||
$bookshelf = null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user