mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-10-15 00:16:55 +00:00
Use short array syntax
This commit is contained in:
committed by
GitHub
parent
c9ad23cf5c
commit
c45f8e22de
@@ -33,7 +33,7 @@ class ArrayUtilTest extends \PHPUnit\Framework\TestCase
|
||||
|
||||
public function testArrayFlattenMultidimArray()
|
||||
{
|
||||
$data = array(
|
||||
$data = [
|
||||
'key-1' => 'value-1',
|
||||
'key-2' => 'value-2',
|
||||
'key-3' => [
|
||||
@@ -44,7 +44,7 @@ class ArrayUtilTest extends \PHPUnit\Framework\TestCase
|
||||
'nested-more-key-2' => 'nested-more-value-2',
|
||||
],
|
||||
],
|
||||
);
|
||||
];
|
||||
|
||||
$this->assertEquals([
|
||||
'key-1' => 'value-1',
|
||||
|
||||
Reference in New Issue
Block a user