0
0
Fork 0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-05-09 18:40:06 +00:00

Fix phpcs issues

This commit is contained in:
Christopher Wilkinson 2019-04-03 10:26:24 +01:00
parent 50a9c71de0
commit d3cd369247
2 changed files with 1 additions and 2 deletions
app
Auth/Permissions
Http/Controllers

View file

@ -577,7 +577,7 @@ class PermissionService
$query2->where('has_permission_own', '=', 1)
->where('created_by', '=', $userId);
});
}) ;
});
if (!is_null($entityClass)) {
$entityInstance = app()->make($entityClass);

View file

@ -108,7 +108,6 @@ class BookController extends Controller
$shelfBooks = $this->entityRepo->getBookshelfChildren($bookshelf);
$shelfBookIds = $shelfBooks->pluck('id');
} else {
$bookshelf = null;
}