{"action":"created","issue":{"url":"https://api.github.com/repos/mavinoo/laravelBatch/issues/4","repository_url":"https://api.github.com/repos/mavinoo/laravelBatch","labels_url":"https://api.github.com/repos/mavinoo/laravelBatch/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/mavinoo/laravelBatch/issues/4/comments","events_url":"https://api.github.com/repos/mavinoo/laravelBatch/issues/4/events","html_url":"https://github.com/mavinoo/laravelBatch/issues/4","id":307736482,"number":4,"title":"ErrorException: Non-static method Mavinoo\\LaravelBatch\\Batch::update() should not be called statically","user":{"login":"markdza","id":8363762,"avatar_url":"https://avatars3.githubusercontent.com/u/8363762?v=4","gravatar_id":"","url":"https://api.github.com/users/markdza","html_url":"https://github.com/markdza","followers_url":"https://api.github.com/users/markdza/followers","following_url":"https://api.github.com/users/markdza/following{/other_user}","gists_url":"https://api.github.com/users/markdza/gists{/gist_id}","starred_url":"https://api.github.com/users/markdza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markdza/subscriptions","organizations_url":"https://api.github.com/users/markdza/orgs","repos_url":"https://api.github.com/users/markdza/repos","events_url":"https://api.github.com/users/markdza/events{/privacy}","received_events_url":"https://api.github.com/users/markdza/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-22T17:12:16Z","updated_at":"2018-04-07T04:32:14Z","closed_at":null,"author_association":"NONE","body":"I have Laravel 5.5.28\r\n\r\nI did the following:\r\n\r\n1. *composer require mavinoo/laravel-batch:dev-master*\r\n2. In config/app.php, providers array, added: *Mavinoo\\LaravelBatch\\LaravelBatchServiceProvider::class,*\r\n3. In config/app.php, aliases array, added: *'Batch' => Mavinoo\\LaravelBatch\\LaravelBatchFacade::class,*\r\n4. In my job I have included this on top: *use Mavinoo\\LaravelBatch\\Batch;*\r\n5. In the same job file I then used it like: *Batch::update('datatable', $data, 'id');*\r\n\r\nBut I get the following error:\r\n\r\n> ErrorException: Non-static method Mavinoo\\LaravelBatch\\Batch::update() should not be called statically\r\n\r\nI even tried taking step 4 out, but I got the same error\r\n\r\nWhat's wrong?"},"comment":{"url":"https://api.github.com/repos/mavinoo/laravelBatch/issues/comments/379431471","html_url":"https://github.com/mavinoo/laravelBatch/issues/4#issuecomment-379431471","issue_url":"https://api.github.com/repos/mavinoo/laravelBatch/issues/4","id":379431471,"user":{"login":"mavinoo","id":16878523,"avatar_url":"https://avatars0.githubusercontent.com/u/16878523?v=4","gravatar_id":"","url":"https://api.github.com/users/mavinoo","html_url":"https://github.com/mavinoo","followers_url":"https://api.github.com/users/mavinoo/followers","following_url":"https://api.github.com/users/mavinoo/following{/other_user}","gists_url":"https://api.github.com/users/mavinoo/gists{/gist_id}","starred_url":"https://api.github.com/users/mavinoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mavinoo/subscriptions","organizations_url":"https://api.github.com/users/mavinoo/orgs","repos_url":"https://api.github.com/users/mavinoo/repos","events_url":"https://api.github.com/users/mavinoo/events{/privacy}","received_events_url":"https://api.github.com/users/mavinoo/received_events","type":"User","site_admin":false},"created_at":"2018-04-07T04:32:14Z","updated_at":"2018-04-07T04:32:14Z","author_association":"OWNER","body":"hi\r\nI'm excited for the late reply.\r\nPlease see this issue\r\nhttps://github.com/mavinoo/laravelBatch/issues/2#issuecomment-363357431"}}
{"actor":{"display_login":"mavinoo"}}