Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit c776df6

Browse files
author
Roman Glushko
committed
#32 Fixed code styling
1 parent 0e2a2a6 commit c776df6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/code/Magento/CmsGraphQl/Model/Resolver/Cms/CmsBlockDataProvider.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
use Magento\Cms\Api\BlockRepositoryInterface as CmsBlockRepositoryInterface;
1111
use Magento\Cms\Api\Data\BlockInterface as CmsBlockInterface;
12+
use Magento\Framework\Exception\LocalizedException;
1213
use Magento\Framework\Exception\NoSuchEntityException;
1314
use Magento\Framework\GraphQl\Exception\GraphQlInputException;
1415

@@ -37,6 +38,7 @@ public function __construct(
3738
* @param string $cmsBlockIdentifier
3839
* @return array|GraphQlInputException
3940
* @throws NoSuchEntityException
41+
* @throws LocalizedException
4042
*/
4143
public function getCmsBlockById(string $cmsBlockIdentifier)
4244
{
@@ -65,5 +67,4 @@ private function processCmsBlock(CmsBlockInterface $cmsBlockModel) : array
6567

6668
return $cmsBlockData;
6769
}
68-
69-
}
70+
}

0 commit comments

Comments
 (0)