Use short array declaration

This commit is contained in:
Romain Neutron
2013-11-18 11:58:12 +01:00
parent 2898b317c4
commit 56b373ee6e
723 changed files with 8350 additions and 8352 deletions

View File

@@ -17,15 +17,15 @@ class BytesConverterTest extends \PHPUnit_Framework_TestCase
public function convertDataProvider()
{
return array(
array('', 123456789012345, '112.28 TB'),
array('Auto', 123456789012345, '112.28 TB'),
array('Human', 123456789012345, '112.28 TB'),
array('KB', 123456789012345, '120563270519.87 KB'),
array('MB', 123456789012345, '117737568.87 MB'),
array('GB', 123456789012345, '114978.09 GB'),
array('TB', 123456789012345, '112.28 TB'),
array('PB', 123456789012345, '0.11 PB'),
);
return [
['', 123456789012345, '112.28 TB'],
['Auto', 123456789012345, '112.28 TB'],
['Human', 123456789012345, '112.28 TB'],
['KB', 123456789012345, '120563270519.87 KB'],
['MB', 123456789012345, '117737568.87 MB'],
['GB', 123456789012345, '114978.09 GB'],
['TB', 123456789012345, '112.28 TB'],
['PB', 123456789012345, '0.11 PB'],
];
}
}