Skip to content

Commit f674bad

Browse files
Ben Batscheletal.kravchuk
authored andcommitted
Fix integration test errors
1 parent 8b900d4 commit f674bad

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

dev/tests/integration/testsuite/Magento/Framework/Code/_expected/SourceClassWithNamespaceExtensionInterfaceFactory.php.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class SourceClassWithNamespaceExtensionInterfaceFactory
4141
* @param array $data
4242
* @return \Magento\Framework\Code\GeneratorTest\SourceClassWithNamespaceExtension
4343
*/
44-
public function create(array $data = array())
44+
public function create(array $data = [])
4545
{
4646
return $this->_objectManager->create($this->_instanceName, $data);
4747
}

dev/tests/integration/testsuite/Magento/Framework/Code/_expected/SourceClassWithNamespaceFactory.php.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class SourceClassWithNamespaceFactory
4141
* @param array $data
4242
* @return \Magento\Framework\Code\GeneratorTest\SourceClassWithNamespace
4343
*/
44-
public function create(array $data = array())
44+
public function create(array $data = [])
4545
{
4646
return $this->_objectManager->create($this->_instanceName, $data);
4747
}

dev/tests/integration/testsuite/Magento/Framework/Code/_expected/SourceClassWithNamespaceInterceptor.php.sample

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Interceptor extends \Magento\Framework\Code\GeneratorTest\SourceClassWithN
1818
/**
1919
* {@inheritdoc}
2020
*/
21-
public function publicChildMethod(\Zend\Code\Generator\ClassGenerator $classGenerator, $param1 = '', $param2 = '\\', $param3 = '\'', array $array = array())
21+
public function publicChildMethod(\Zend\Code\Generator\ClassGenerator $classGenerator, $param1 = '', $param2 = '\\', $param3 = '\'', array $array = [])
2222
{
2323
$pluginInfo = $this->pluginList->getNext($this->subjectType, 'publicChildMethod');
2424
if (!$pluginInfo) {
@@ -57,7 +57,7 @@ class Interceptor extends \Magento\Framework\Code\GeneratorTest\SourceClassWithN
5757
/**
5858
* {@inheritdoc}
5959
*/
60-
public function publicParentMethod(\Zend\Code\Generator\DocBlockGenerator $docBlockGenerator, $param1 = '', $param2 = '\\', $param3 = '\'', array $array = array())
60+
public function publicParentMethod(\Zend\Code\Generator\DocBlockGenerator $docBlockGenerator, $param1 = '', $param2 = '\\', $param3 = '\'', array $array = [])
6161
{
6262
$pluginInfo = $this->pluginList->getNext($this->subjectType, 'publicParentMethod');
6363
if (!$pluginInfo) {

dev/tests/integration/testsuite/Magento/Framework/Code/_expected/SourceClassWithNamespaceProxy.php.sample

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class Proxy extends \Magento\Framework\Code\GeneratorTest\SourceClassWithNamespa
9393
/**
9494
* {@inheritdoc}
9595
*/
96-
public function publicChildMethod(\Zend\Code\Generator\ClassGenerator $classGenerator, $param1 = '', $param2 = '\\', $param3 = '\'', array $array = array())
96+
public function publicChildMethod(\Zend\Code\Generator\ClassGenerator $classGenerator, $param1 = '', $param2 = '\\', $param3 = '\'', array $array = [])
9797
{
9898
return $this->_getSubject()->publicChildMethod($classGenerator, $param1, $param2, $param3, $array);
9999
}
@@ -117,7 +117,7 @@ class Proxy extends \Magento\Framework\Code\GeneratorTest\SourceClassWithNamespa
117117
/**
118118
* {@inheritdoc}
119119
*/
120-
public function publicParentMethod(\Zend\Code\Generator\DocBlockGenerator $docBlockGenerator, $param1 = '', $param2 = '\\', $param3 = '\'', array $array = array())
120+
public function publicParentMethod(\Zend\Code\Generator\DocBlockGenerator $docBlockGenerator, $param1 = '', $param2 = '\\', $param3 = '\'', array $array = [])
121121
{
122122
return $this->_getSubject()->publicParentMethod($docBlockGenerator, $param1, $param2, $param3, $array);
123123
}

0 commit comments

Comments
 (0)