Update api_members.class.php

This commit is contained in:
ptibogxiv 2020-08-29 12:44:17 +02:00 committed by GitHub
parent 96b3474185
commit a64223f73d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,7 +92,7 @@ class Members extends DolibarrApi
* @throws RestException 401
* @throws RestException 404
*/
function getByThirdparty($thirdparty)
public function getByThirdparty($thirdparty)
{
if (! DolibarrApiAccess::$user->rights->adherent->lire) {
throw new RestException(401);
@ -125,7 +125,7 @@ class Members extends DolibarrApi
* @throws RestException 401
* @throws RestException 404
*/
function getByThirdpartyEmail($email)
public function getByThirdpartyEmail($email)
{
if (! DolibarrApiAccess::$user->rights->adherent->lire) {
throw new RestException(401);
@ -164,7 +164,7 @@ class Members extends DolibarrApi
* @throws RestException 401
* @throws RestException 404
*/
function getByThirdpartyBarcode($barcode)
public function getByThirdpartyBarcode($barcode)
{
if (! DolibarrApiAccess::$user->rights->adherent->lire) {
throw new RestException(401);