Skip to content

Commit a9d6eb3

Browse files
author
Munkh-Ulzii Balidar
committed
28584 fix static code style
1 parent 6588700 commit a9d6eb3

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

app/code/Magento/CatalogGraphQl/Model/Category/DepthCalculator.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,13 @@ public function calculate(ResolveInfo $resolveInfo, FieldNode $fieldNode) : int
5454
* @param ResolveInfo $resolveInfo
5555
* @param InlineFragmentNode $inlineFragmentField
5656
* @param array $depth
57-
* @return int[]
57+
* @return int
5858
*/
59-
private function addInlineFragmentDepth(ResolveInfo $resolveInfo, InlineFragmentNode $inlineFragmentField, $depth = [])
60-
{
59+
private function addInlineFragmentDepth(
60+
ResolveInfo $resolveInfo,
61+
InlineFragmentNode
62+
$inlineFragmentField, $depth = []
63+
): int {
6164
$selections = $inlineFragmentField->selectionSet->selections;
6265
/** @var FieldNode $field */
6366
foreach ($selections as $field) {

0 commit comments

Comments
 (0)