Add curly braces

This commit is contained in:
Romain Neutron
2012-04-26 01:55:12 +02:00
parent ade22295ad
commit 33b10d6746
86 changed files with 2969 additions and 2698 deletions

View File

@@ -136,8 +136,9 @@ class set_ordermanager extends set_abstract
{
$comp = strcasecmp($a['usage'], $b['usage']);
if ($comp == 0)
if ($comp == 0) {
return 0;
}
return $comp < 0 ? -1 : 1;
}
@@ -152,8 +153,9 @@ class set_ordermanager extends set_abstract
{
$comp = strcasecmp($a['usr_display'], $b['usr_display']);
if ($comp == 0)
if ($comp == 0) {
return 0;
}
return $comp < 0 ? -1 : 1;
}
@@ -168,8 +170,9 @@ class set_ordermanager extends set_abstract
{
$comp = $b->format('U') - $a->format('U');
if ($comp == 0)
if ($comp == 0) {
return 0;
}
return $comp < 0 ? -1 : 1;
}