Skip to content

Commit 66f0827

Browse files
committed
MC-1439: Define API & SPI and mark accordingly
1 parent f6acc40 commit 66f0827

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

app/code/Magento/PageBuilder/Model/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function __construct(
3838
/**
3939
* @return array
4040
*/
41-
public function getGroups()
41+
public function getGroups() : array
4242
{
4343
return $this->get('groups');
4444
}

app/code/Magento/PageBuilder/Model/ConfigInterface.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
7+
68
namespace Magento\PageBuilder\Model;
79

810
/**
@@ -15,15 +17,15 @@ interface ConfigInterface
1517
/**
1618
* @return array
1719
*/
18-
public function getGroups();
20+
public function getGroups() : array;
1921

2022
/**
2123
* @return array
2224
*/
23-
public function getContentTypes();
25+
public function getContentTypes() : array;
2426

2527
/**
2628
* @return bool
2729
*/
28-
public function isEnabled();
30+
public function isEnabled() : bool;
2931
}

app/code/Magento/PageBuilder/Setup/DataConverter/Renderer/Map.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function render(array $itemData, array $additionalData = []) : string
8585
*
8686
* @param array $eavData
8787
*
88-
* @return void
88+
* @return void
8989
*/
9090
private function renderMapLocations($eavData) : void
9191
{

0 commit comments

Comments
 (0)