Skip to content

Commit 987cd9b

Browse files
authored
Support the use of PHP 8.0 "mixed" type
Fix failing static tests
1 parent de131cb commit 987cd9b

File tree

1 file changed

+2
-9
lines changed
  • lib/internal/Magento/Framework/ObjectManager/Code/Generator

1 file changed

+2
-9
lines changed

lib/internal/Magento/Framework/ObjectManager/Code/Generator/Proxy.php

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,23 @@
11
<?php
22
/**
3-
* Proxy generator
4-
*
53
* Copyright © Magento, Inc. All rights reserved.
64
* See COPYING.txt for license details.
75
*/
86
declare(strict_types=1);
97

108
namespace Magento\Framework\ObjectManager\Code\Generator;
119

12-
/**
13-
* Class Proxy
14-
*
15-
* @package Magento\Framework\ObjectManager\Code\Generator
16-
*/
1710
class Proxy extends \Magento\Framework\Code\Generator\EntityAbstract
1811
{
1912
/**
2013
* Entity type
2114
*/
22-
const ENTITY_TYPE = 'proxy';
15+
public const ENTITY_TYPE = 'proxy';
2316

2417
/**
2518
* Marker interface
2619
*/
27-
const NON_INTERCEPTABLE_INTERFACE = \Magento\Framework\ObjectManager\NoninterceptableInterface::class;
20+
public const NON_INTERCEPTABLE_INTERFACE = \Magento\Framework\ObjectManager\NoninterceptableInterface::class;
2821

2922
/**
3023
* Returns default result class name

0 commit comments

Comments
 (0)