Skip to content

Commit d901f30

Browse files
author
Joan He
committed
MAGETWO-89091: CE edition - Update composer dependencies
- revert change to code generater test after update zendframework/zend-code to 3.1.0
1 parent 5d9f1f0 commit d901f30

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

lib/internal/Magento/Framework/Api/Test/Unit/Code/Generator/_files/SampleMapper.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ class SampleMapper
1717
*
1818
* @var array
1919
*/
20-
protected $registry = [
20+
protected $registry = array(
2121

22-
];
22+
);
2323

2424
/**
2525
* Mapper constructor

lib/internal/Magento/Framework/Code/Test/Unit/_files/app/code/Magento/SomeModule/Model/SevenInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ interface SevenInterface extends \Magento\Framework\Code\Generator\CodeGenerator
3232
* @param array $data
3333
* @return TestThree
3434
*/
35-
public static function testMethod1(array &$data = []);
35+
public static function testMethod1(array &$data = array());
3636

3737
/**
3838
* Method short description

lib/internal/Magento/Framework/ObjectManager/Test/Unit/Code/Generator/_files/SampleFactory.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class SampleFactory
3737
* @param array $data
3838
* @return \Magento\Framework\ObjectManager\Code\Generator\Sample
3939
*/
40-
public function create(array $data = [])
40+
public function create(array $data = array())
4141
{
4242
return $this->_objectManager->create($this->_instanceName, $data);
4343
}

lib/internal/Magento/Framework/ObjectManager/Test/Unit/Code/Generator/_files/SampleRepository.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ class SampleRepository implements SampleRepositoryInterface
2727
*
2828
* @var array
2929
*/
30-
protected $registry = [
30+
protected $registry = array(
3131

32-
];
32+
);
3333

3434
/**
3535
* Extension attributes join processor.

lib/internal/Magento/Framework/ObjectManager/Test/Unit/Code/Generator/_files/TSampleRepository.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ class TSampleRepository implements TSampleRepositoryInterface
2727
*
2828
* @var array
2929
*/
30-
protected $registry = [
30+
protected $registry = array(
3131

32-
];
32+
);
3333

3434
/**
3535
* Extension attributes join processor.

0 commit comments

Comments
 (0)