added space after !

This commit is contained in:
peternuernberger 2019-12-30 12:56:15 +01:00
parent a2f2c650a4
commit 04fee503d8
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ class Category extends TranslatableModel implements CategoryContract
*/
private function findInTree($categoryTree = null): Category
{
if (!$categoryTree) {
if (! $categoryTree) {
$rootCategoryId = core()->getCurrentChannel()->root_category_id;
$categoryTree = app('Webkul\Category\Repositories\CategoryRepository')->getVisibleCategoryTree($rootCategoryId);
}