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

@@ -565,7 +565,7 @@ class Orders extends DolibarrApi
$result = $this->commande->set_reopen(DolibarrApiAccess::$user);
if( $result < 0) {
throw new RestException(405, $this->commande->error);
}else if( $result == 0) {
}elseif( $result == 0) {
throw new RestException(304);
}