Skip to content

Commit 10afe1d

Browse files
committed
improve code styling after IF keyword
1 parent 7b1c4dd commit 10afe1d

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/CatalogGraphQl/Model/Resolver/Products/DataProvider

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogGraphQl/Model/Resolver/Products/DataProvider/CategoryTree.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function getTree(ResolveInfo $resolveInfo, int $rootCategoryId) : array
9696
$level = $this->levelCalculator->calculate($rootCategoryId);
9797

9898
// If root category is being filter, we've to remove first slash
99-
if($rootCategoryId == 1) {
99+
if ($rootCategoryId == 1) {
100100
$regExpPathFilter = sprintf('.*%s/[/0-9]*$', $rootCategoryId);
101101
} else {
102102
$regExpPathFilter = sprintf('.*/%s/[/0-9]*$', $rootCategoryId);

0 commit comments

Comments
 (0)