mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Makes PHPCS pass again.
This commit is contained in:
parent
a140b30435
commit
524aaf3449
1 changed files with 8 additions and 8 deletions
|
@ -1069,30 +1069,30 @@ class HashTest extends CakeTestCase {
|
|||
|
||||
$a = array(
|
||||
'SU' => array(
|
||||
'total_fulfillable' => (int) 2
|
||||
'total_fulfillable' => 2
|
||||
),
|
||||
'AA' => array(
|
||||
'total_fulfillable' => (int) 1
|
||||
'total_fulfillable' => 1
|
||||
),
|
||||
'LX' => array(
|
||||
'total_fulfillable' => (int) 0
|
||||
'total_fulfillable' => 0
|
||||
),
|
||||
'BL' => array(
|
||||
'total_fulfillable' => (int) 3
|
||||
'total_fulfillable' => 3
|
||||
),
|
||||
);
|
||||
$expected = array(
|
||||
'LX' => array(
|
||||
'total_fulfillable' => (int) 0
|
||||
'total_fulfillable' => 0
|
||||
),
|
||||
'AA' => array(
|
||||
'total_fulfillable' => (int) 1
|
||||
'total_fulfillable' => 1
|
||||
),
|
||||
'SU' => array(
|
||||
'total_fulfillable' => (int) 2
|
||||
'total_fulfillable' => 2
|
||||
),
|
||||
'BL' => array(
|
||||
'total_fulfillable' => (int) 3
|
||||
'total_fulfillable' => 3
|
||||
),
|
||||
);
|
||||
$result = Hash::sort($a, '{s}.total_fulfillable', 'asc');
|
||||
|
|
Loading…
Reference in a new issue