{"action":"created","issue":{"url":"https://api.github.com/repos/mcamara/laravel-localization/issues/197","labels_url":"https://api.github.com/repos/mcamara/laravel-localization/issues/197/labels{/name}","comments_url":"https://api.github.com/repos/mcamara/laravel-localization/issues/197/comments","events_url":"https://api.github.com/repos/mcamara/laravel-localization/issues/197/events","html_url":"https://github.com/mcamara/laravel-localization/issues/197","id":65407798,"number":197,"title":"Non-static method setLocale() called statically","user":{"login":"AlexVonB","id":7325664,"avatar_url":"https://avatars.githubusercontent.com/u/7325664?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexVonB","html_url":"https://github.com/AlexVonB","followers_url":"https://api.github.com/users/AlexVonB/followers","following_url":"https://api.github.com/users/AlexVonB/following{/other_user}","gists_url":"https://api.github.com/users/AlexVonB/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexVonB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexVonB/subscriptions","organizations_url":"https://api.github.com/users/AlexVonB/orgs","repos_url":"https://api.github.com/users/AlexVonB/repos","events_url":"https://api.github.com/users/AlexVonB/events{/privacy}","received_events_url":"https://api.github.com/users/AlexVonB/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-31T09:27:30Z","updated_at":"2015-03-31T14:58:32Z","closed_at":"2015-03-31T14:58:32Z","body":"Hi,\r\n\r\nI'm using Laravel 5.0.23 and your 1.0.7. When writing\r\n\r\n    Route::group(['prefix' => LaravelLocalization::setLocale()], function()\r\n    {\r\n        Route::get('/', 'WelcomeController@index');\r\n    });\r\n\r\nI get\r\n\r\n    Non-static method Mcamara\\LaravelLocalization\\LaravelLocalization::setLocale() should not be called statically, assuming $this from incompatible context\r\n\r\nwhich seems reasonable, because `setLocale()` uses `$this`. What am I missing?\r\n\r\nBest, Alex"},"comment":{"url":"https://api.github.com/repos/mcamara/laravel-localization/issues/comments/88120821","html_url":"https://github.com/mcamara/laravel-localization/issues/197#issuecomment-88120821","issue_url":"https://api.github.com/repos/mcamara/laravel-localization/issues/197","id":88120821,"user":{"login":"AlexVonB","id":7325664,"avatar_url":"https://avatars.githubusercontent.com/u/7325664?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexVonB","html_url":"https://github.com/AlexVonB","followers_url":"https://api.github.com/users/AlexVonB/followers","following_url":"https://api.github.com/users/AlexVonB/following{/other_user}","gists_url":"https://api.github.com/users/AlexVonB/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexVonB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexVonB/subscriptions","organizations_url":"https://api.github.com/users/AlexVonB/orgs","repos_url":"https://api.github.com/users/AlexVonB/repos","events_url":"https://api.github.com/users/AlexVonB/events{/privacy}","received_events_url":"https://api.github.com/users/AlexVonB/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T14:58:32Z","updated_at":"2015-03-31T14:58:32Z","body":"Well, nevermind, did not use the Facade, but the normal class. My bad, thank you!"}}