mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-11 02:12:33 +01:00
PSR2 usage of else if is discouraged
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user