Skip to content

Commit

Permalink
CORE-1859 Run CS
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsanmx committed Sep 4, 2017
1 parent 1ab8f09 commit c87bdbf
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -7,6 +7,7 @@

namespace Spryker\Zed\Navigation\Business\Tree;

use ArrayObject;
use Generated\Shared\Transfer\LocaleTransfer;
use Generated\Shared\Transfer\NavigationNodeLocalizedAttributesTransfer;
use Generated\Shared\Transfer\NavigationNodeTransfer;
Expand Down Expand Up @@ -106,7 +107,7 @@ protected function mapNavigationEntityToNavigationTreeTransfer(SpyNavigation $na
$navigationTreeTransfer->setNavigation($navigationTransfer);

$rootNavigationNodes = $this->findRootNavigationNodes($navigationEntity);
$nodesWithoutPosition = new \ArrayObject();
$nodesWithoutPosition = new ArrayObject();
foreach ($rootNavigationNodes as $navigationNodeEntity) {
$navigationTreeNodeTransfer = $this->getNavigationTreeNodeRecursively($navigationNodeEntity, $localeTransfer);
if ($navigationNodeEntity->getPosition() === null) {
Expand Down

0 comments on commit c87bdbf

Please sign in to comment.