change typo

This commit is contained in:
Simon Vieille 2019-04-25 12:45:22 +02:00
parent 734d4999cc
commit 55d56ad9f0
Signed by: deblan
GPG Key ID: 03383D15A1D31745
1 changed files with 3 additions and 3 deletions

View File

@ -136,7 +136,7 @@ EOF
return [
'domain' => $domain,
'expiryDate' => $expiryDate,
'comparaison' => $expiryDate ? $expiryDate->getTimestamp() : 'FAIL',
'comparison' => $expiryDate ? $expiryDate->getTimestamp() : 'FAIL',
];
}
@ -150,11 +150,11 @@ EOF
protected function sort(array $data):array
{
usort($data, function ($a, $b) {
if ($a['comparaison'] > $b['comparaison']) {
if ($a['comparison'] > $b['comparison']) {
return 1;
}
if ($a['comparaison'] === $b['comparaison']) {
if ($a['comparison'] === $b['comparison']) {
if ($a['domain'] > $b['domain']) {
return 1;
}