mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Use short array declaration
This commit is contained in:
@@ -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'],
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user