{"action":"opened","issue":{"url":"https://api.github.com/repos/anouarabdsslm/laravel-paypalpayment/issues/159","repository_url":"https://api.github.com/repos/anouarabdsslm/laravel-paypalpayment","labels_url":"https://api.github.com/repos/anouarabdsslm/laravel-paypalpayment/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/anouarabdsslm/laravel-paypalpayment/issues/159/comments","events_url":"https://api.github.com/repos/anouarabdsslm/laravel-paypalpayment/issues/159/events","html_url":"https://github.com/anouarabdsslm/laravel-paypalpayment/issues/159","id":374284662,"node_id":"MDU6SXNzdWUzNzQyODQ2NjI=","number":159,"title":"Dynamic methods should not be called staticaly","user":{"login":"AlterwebStudio","id":34649105,"node_id":"MDQ6VXNlcjM0NjQ5MTA1","avatar_url":"https://avatars2.githubusercontent.com/u/34649105?v=4","gravatar_id":"","url":"https://api.github.com/users/AlterwebStudio","html_url":"https://github.com/AlterwebStudio","followers_url":"https://api.github.com/users/AlterwebStudio/followers","following_url":"https://api.github.com/users/AlterwebStudio/following{/other_user}","gists_url":"https://api.github.com/users/AlterwebStudio/gists{/gist_id}","starred_url":"https://api.github.com/users/AlterwebStudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlterwebStudio/subscriptions","organizations_url":"https://api.github.com/users/AlterwebStudio/orgs","repos_url":"https://api.github.com/users/AlterwebStudio/repos","events_url":"https://api.github.com/users/AlterwebStudio/events{/privacy}","received_events_url":"https://api.github.com/users/AlterwebStudio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-26T08:46:13Z","updated_at":"2018-10-26T08:46:13Z","closed_at":null,"author_association":"NONE","body":"In the example methods, PaypalPayment methods are called staticaly but methods are defined as dynamic in the class. I modified paywithCreditCard() and paywithPaypal() methods to create new instance of PayPaylPayment class first, then I made methods to call dynamicaly. Anyway I don't think it's the best way how to solve it (at least beacase it has its own ServiceProvider called automaticaly by laravel service providers in boostrap). Any suggestions how to solve this correctly?"}}
{"actor":{"display_login":"AlterwebStudio"}}