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
Please add @throws annotation to you library so the phpStorm can know what exceptions it needs to handle.
For instance the Charge::create() is throwing the Card, ApiConnection and InvalidRequest, but the phpstorm is marking those exceptions as never thrown. This is really annoying.
Thanks.
The text was updated successfully, but these errors were encountered:
Hi @mrfreitas, thanks for the suggestion! I don't think we'll be able to tackle this immediately, but I'm going to tag this as future and we'll keep this in mind in future versions.
Please add @throws annotation to you library so the phpStorm can know what exceptions it needs to handle.
For instance the Charge::create() is throwing the Card, ApiConnection and InvalidRequest, but the phpstorm is marking those exceptions as never thrown. This is really annoying.
Thanks.
The text was updated successfully, but these errors were encountered: