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

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;
}