You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can see that examples show usages like $client->exportLocale(/* ... */);, but the ApiClient class does not define any such methods. This must mean that they are somehow translated to endpoint paths using __call() automagic.
Please document these magic methods using @method PHPDoc tags so that they will be available for code completion and won't trigger code inspection warnings in modern IDEs.
Alternatively return new static instead of new self in ApiClient::factory() so that one can subclass it and add the missing PHPDoc to the subclass.
The text was updated successfully, but these errors were encountered:
I can see that examples show usages like
$client->exportLocale(/* ... */);
, but theApiClient
class does not define any such methods. This must mean that they are somehow translated to endpoint paths using__call()
automagic.Please document these magic methods using
@method
PHPDoc tags so that they will be available for code completion and won't trigger code inspection warnings in modern IDEs.Alternatively
return new static
instead ofnew self
inApiClient::factory()
so that one can subclass it and add the missing PHPDoc to the subclass.The text was updated successfully, but these errors were encountered: