Skip to content

Commit 52f5c4c

Browse files
author
Stanislav Idolov
committed
MAGETWO-70886: Zend feed refactoring #9347
1 parent 5d28b84 commit 52f5c4c

File tree

4 files changed

+13
-1
lines changed

4 files changed

+13
-1
lines changed

app/code/Magento/Backend/Block/Template.php

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

811
/**

app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/Helper/AttributeFilter.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
7+
declare(strict_types=1);
8+
69
namespace Magento\Catalog\Controller\Adminhtml\Product\Initialization\Helper;
710

811
use \Magento\Catalog\Model\Product;
@@ -43,7 +46,7 @@ public function prepareProductAttributes(Product $product, array $productData, a
4346
* @param $value
4447
* @return bool
4548
*/
46-
private function isAttributeShouldNotBeUpdated(Product $product, $useDefaults, $attribute, $value)
49+
private function isAttributeShouldNotBeUpdated(Product $product, $useDefaults, $attribute, $value) : bool
4750
{
4851
$considerUseDefaultsAttribute = !isset($useDefaults[$attribute]) || $useDefaults[$attribute] === "1";
4952

app/code/Magento/Checkout/Controller/Index/Index.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
* Copyright © Magento, Inc. All rights reserved.
55
* See COPYING.txt for license details.
66
*/
7+
8+
declare(strict_types=1);
9+
710
namespace Magento\Checkout\Controller\Index;
811

912
class Index extends \Magento\Checkout\Controller\Onepage

app/code/Magento/Rss/Model/Rss.php

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

811
use Magento\Framework\App\ObjectManager;

0 commit comments

Comments
 (0)