Skip to content

Commit a86b5b3

Browse files
committed
MAGETWO-33080: Preferences, Shared Instance creation and Compiled Factory optimization
- fixed integrity
1 parent 916a1de commit a86b5b3

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

dev/tests/unit/testsuite/Magento/Framework/ObjectManager/Environment/CompiledTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
namespace Magento\Framework\ObjectManager\Environment;
77

8-
require '_files/CompiledTesting.php';
8+
require 'CompiledTesting.php';
99

1010
class CompiledTest extends \PHPUnit_Framework_TestCase
1111
{

lib/internal/Magento/Framework/ObjectManager/ObjectManager.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ class ObjectManager implements \Magento\Framework\ObjectManagerInterface
3434
/**
3535
* @param FactoryInterface $factory
3636
* @param ConfigInterface $config
37-
* @param array $sharedInstances
37+
* @param array &$sharedInstances
3838
*/
39-
public function __construct(FactoryInterface $factory, ConfigInterface $config, array &$sharedInstances = [])
39+
public function __construct(FactoryInterface $factory, ConfigInterface $config, array &$sharedInstances)
4040
{
4141
$this->_config = $config;
4242
$this->_factory = $factory;

0 commit comments

Comments
 (0)