Skip to content

Commit 5fb8cc2

Browse files
ProkopovVitaliyGabriel Galvao da Gama
authored andcommitted
added strict types for classes
1 parent e2c3d4d commit 5fb8cc2

File tree

12 files changed

+22
-0
lines changed

12 files changed

+22
-0
lines changed

app/code/Magento/Catalog/Controller/Adminhtml/Product.php

Lines changed: 2 additions & 0 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\Catalog\Controller\Adminhtml;
79

810
use Magento\Backend\App\Action;

app/code/Magento/Catalog/Pricing/Price/FinalPrice.php

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

78
namespace Magento\Catalog\Pricing\Price;
89

app/code/Magento/Customer/Block/Adminhtml/Edit/GenericButton.php

Lines changed: 2 additions & 0 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\Customer\Block\Adminhtml\Edit;
79

810
use Magento\Customer\Controller\RegistryConstants;

app/code/Magento/Payment/Gateway/Config/Config.php

Lines changed: 2 additions & 0 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\Payment\Gateway\Config;
79

810
use Magento\Framework\App\Config\ScopeConfigInterface;

app/code/Magento/Store/Ui/Component/Listing/Column/Store/Options.php

Lines changed: 2 additions & 0 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\Store\Ui\Component\Listing\Column\Store;
79

810
use Magento\Framework\Escaper;

app/code/Magento/Ui/DataProvider/AddFieldToCollectionInterface.php

Lines changed: 2 additions & 0 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\Ui\DataProvider;
79

810
use Magento\Framework\Data\Collection;

app/code/Magento/Ui/DataProvider/Modifier/PoolInterface.php

Lines changed: 2 additions & 0 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\Ui\DataProvider\Modifier;
79

810
/**

lib/internal/Magento/Framework/App/Cache/Type/Config.php

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

78
namespace Magento\Framework\App\Cache\Type;
89

lib/internal/Magento/Framework/App/Config/ConfigResource/ConfigInterface.php

Lines changed: 2 additions & 0 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\Framework\App\Config\ConfigResource;
79

810
use Magento\Framework\App\Config\ScopeConfigInterface;

lib/internal/Magento/Framework/App/Config/ValueFactory.php

Lines changed: 2 additions & 0 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\Framework\App\Config;
79

810
/**

0 commit comments

Comments
 (0)