Skip to content

Commit 5ff045b

Browse files
committed
MAGETWO-69964: PHPCS cannot parse correctly syntax of PHP 7.x return types
1 parent 45849d8 commit 5ff045b

File tree

3 files changed

+15
-21
lines changed

3 files changed

+15
-21
lines changed

app/code/Magento/Catalog/Model/Widget/RecentlyViewedStorageConfiguration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
3+
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
66
namespace Magento\Catalog\Model\Widget;

app/code/Magento/Catalog/view/frontend/templates/product/widget/viewed/grid.phtml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,11 @@
1010
*/
1111
?>
1212

13-
<?= /* @escapeNotVerified */
14-
$block->renderApp(
15-
[
16-
'widget_columns' => [
17-
'displayMode' => 'grid'
18-
],
19-
'image' => [
20-
'imageCode' => 'recently_viewed_products_grid_content_widget'
21-
]
13+
<?= /* @escapeNotVerified */ $block->renderApp([
14+
'widget_columns' => [
15+
'displayMode' => 'grid'
16+
],
17+
'image' => [
18+
'imageCode' => 'recently_viewed_products_grid_content_widget'
2219
]
23-
);
20+
]);

app/code/Magento/Catalog/view/frontend/templates/product/widget/viewed/list.phtml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,11 @@
1010
*/
1111
?>
1212

13-
<?= /* @escapeNotVerified */
14-
$block->renderApp(
15-
[
16-
'widget_columns' => [
17-
'displayMode' => 'list'
18-
],
19-
'image' => [
20-
'imageCode' => 'recently_viewed_products_list_content_widget'
21-
]
13+
<?= /* @escapeNotVerified */ $block->renderApp( [
14+
'widget_columns' => [
15+
'displayMode' => 'list'
16+
],
17+
'image' => [
18+
'imageCode' => 'recently_viewed_products_list_content_widget'
2219
]
23-
);
20+
]);

0 commit comments

Comments
 (0)