PSR2 usage of else if is discouraged

This commit is contained in:
Frédéric FRANCE
2019-01-27 10:49:34 +01:00
parent a9da6a2d51
commit 6e91b3cefc
335 changed files with 1524 additions and 1526 deletions

View File

@@ -2533,7 +2533,7 @@ class Commande extends CommonOrder
{
$ga[$obj->cid] = $obj->ref;
}
else if ($shortlist == 2)
elseif ($shortlist == 2)
{
$ga[$obj->cid] = $obj->ref.' ('.$obj->name.')';
}