Updated Lint Issies

This commit is contained in:
Mr Matthew Sidnell 2020-08-19 16:27:00 +01:00 committed by GitHub
parent b3f078a687
commit c2a81341ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -245,8 +245,7 @@ class Categories extends DolibarrApi
if ($this->category->update(DolibarrApiAccess::$user) > 0) if ($this->category->update(DolibarrApiAccess::$user) > 0)
{ {
return $this->get($id); return $this->get($id);
} } else
else
{ {
throw new RestException(500, $this->category->error); throw new RestException(500, $this->category->error);
} }