mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-04-29 15:44:05 +08: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)
|
$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…
x
Reference in New Issue
Block a user