mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +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(
|
$a = array(
|
||||||
'SU' => array(
|
'SU' => array(
|
||||||
'total_fulfillable' => (int) 2
|
'total_fulfillable' => 2
|
||||||
),
|
),
|
||||||
'AA' => array(
|
'AA' => array(
|
||||||
'total_fulfillable' => (int) 1
|
'total_fulfillable' => 1
|
||||||
),
|
),
|
||||||
'LX' => array(
|
'LX' => array(
|
||||||
'total_fulfillable' => (int) 0
|
'total_fulfillable' => 0
|
||||||
),
|
),
|
||||||
'BL' => array(
|
'BL' => array(
|
||||||
'total_fulfillable' => (int) 3
|
'total_fulfillable' => 3
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
$expected = array(
|
$expected = array(
|
||||||
'LX' => array(
|
'LX' => array(
|
||||||
'total_fulfillable' => (int) 0
|
'total_fulfillable' => 0
|
||||||
),
|
),
|
||||||
'AA' => array(
|
'AA' => array(
|
||||||
'total_fulfillable' => (int) 1
|
'total_fulfillable' => 1
|
||||||
),
|
),
|
||||||
'SU' => array(
|
'SU' => array(
|
||||||
'total_fulfillable' => (int) 2
|
'total_fulfillable' => 2
|
||||||
),
|
),
|
||||||
'BL' => array(
|
'BL' => array(
|
||||||
'total_fulfillable' => (int) 3
|
'total_fulfillable' => 3
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
$result = Hash::sort($a, '{s}.total_fulfillable', 'asc');
|
$result = Hash::sort($a, '{s}.total_fulfillable', 'asc');
|
||||||
|
|
Loading…
Reference in a new issue