{"action":"created","comment":{"url":"https://api.github.com/repos/algolia/algoliasearch-laravel/pulls/comments/81593577","pull_request_review_id":2561643,"id":81593577,"diff_hunk":"@@ -80,9 +80,16 @@ public function getSettings(Model $model)\n         return property_exists($model, 'algoliaSettings') ? $model->algoliaSettings : [];\n     }\n \n-    public function getSlavesSettings(Model $model)\n+    public function getReplicasSettings(Model $model)","path":"src/ModelHelper.php","position":5,"original_position":5,"commit_id":"05dae1f2e6780fcc46c7e9059c0c0e99eff06b9b","original_commit_id":"05dae1f2e6780fcc46c7e9059c0c0e99eff06b9b","user":{"login":"JanPetr","id":1058144,"avatar_url":"https://avatars.githubusercontent.com/u/1058144?v=3","gravatar_id":"","url":"https://api.github.com/users/JanPetr","html_url":"https://github.com/JanPetr","followers_url":"https://api.github.com/users/JanPetr/followers","following_url":"https://api.github.com/users/JanPetr/following{/other_user}","gists_url":"https://api.github.com/users/JanPetr/gists{/gist_id}","starred_url":"https://api.github.com/users/JanPetr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JanPetr/subscriptions","organizations_url":"https://api.github.com/users/JanPetr/orgs","repos_url":"https://api.github.com/users/JanPetr/repos","events_url":"https://api.github.com/users/JanPetr/events{/privacy}","received_events_url":"https://api.github.com/users/JanPetr/received_events","type":"User","site_admin":false},"body":"As this was `public` method, you should still keep it present:\r\n```php\r\npublic function getSlavesSettings(Model $model)\r\n{\r\n    // trigger deprecated notice/warning\r\n\r\n    return $this->getReplicasSettings(Model $model);\r\n}\r\n```","created_at":"2016-10-03T17:04:13Z","updated_at":"2016-10-03T17:04:38Z","html_url":"https://github.com/algolia/algoliasearch-laravel/pull/81#discussion_r81593577","pull_request_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/pulls/81","_links":{"self":{"href":"https://api.github.com/repos/algolia/algoliasearch-laravel/pulls/comments/81593577"},"html":{"href":"https://github.com/algolia/algoliasearch-laravel/pull/81#discussion_r81593577"},"pull_request":{"href":"https://api.github.com/repos/algolia/algoliasearch-laravel/pulls/81"}}},"pull_request":{"url":"https://api.github.com/repos/algolia/algoliasearch-laravel/pulls/81","id":87736443,"html_url":"https://github.com/algolia/algoliasearch-laravel/pull/81","diff_url":"https://github.com/algolia/algoliasearch-laravel/pull/81.diff","patch_url":"https://github.com/algolia/algoliasearch-laravel/pull/81.patch","issue_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/issues/81","number":81,"state":"open","locked":false,"title":"Change slaves to replicas","user":{"login":"maxiloc","id":1689007,"avatar_url":"https://avatars.githubusercontent.com/u/1689007?v=3","gravatar_id":"","url":"https://api.github.com/users/maxiloc","html_url":"https://github.com/maxiloc","followers_url":"https://api.github.com/users/maxiloc/followers","following_url":"https://api.github.com/users/maxiloc/following{/other_user}","gists_url":"https://api.github.com/users/maxiloc/gists{/gist_id}","starred_url":"https://api.github.com/users/maxiloc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxiloc/subscriptions","organizations_url":"https://api.github.com/users/maxiloc/orgs","repos_url":"https://api.github.com/users/maxiloc/repos","events_url":"https://api.github.com/users/maxiloc/events{/privacy}","received_events_url":"https://api.github.com/users/maxiloc/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-03T15:23:50Z","updated_at":"2016-10-03T17:04:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ef0dca142fa731c6f0ea613ddc41e2750c003e5f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/pulls/81/commits","review_comments_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/pulls/81/comments","review_comment_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/issues/81/comments","statuses_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/statuses/05dae1f2e6780fcc46c7e9059c0c0e99eff06b9b","head":{"label":"algolia:slaves-replicas-renaming","ref":"slaves-replicas-renaming","sha":"05dae1f2e6780fcc46c7e9059c0c0e99eff06b9b","user":{"login":"algolia","id":2034458,"avatar_url":"https://avatars.githubusercontent.com/u/2034458?v=3","gravatar_id":"","url":"https://api.github.com/users/algolia","html_url":"https://github.com/algolia","followers_url":"https://api.github.com/users/algolia/followers","following_url":"https://api.github.com/users/algolia/following{/other_user}","gists_url":"https://api.github.com/users/algolia/gists{/gist_id}","starred_url":"https://api.github.com/users/algolia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algolia/subscriptions","organizations_url":"https://api.github.com/users/algolia/orgs","repos_url":"https://api.github.com/users/algolia/repos","events_url":"https://api.github.com/users/algolia/events{/privacy}","received_events_url":"https://api.github.com/users/algolia/received_events","type":"Organization","site_admin":false},"repo":{"id":35169633,"name":"algoliasearch-laravel","full_name":"algolia/algoliasearch-laravel","owner":{"login":"algolia","id":2034458,"avatar_url":"https://avatars.githubusercontent.com/u/2034458?v=3","gravatar_id":"","url":"https://api.github.com/users/algolia","html_url":"https://github.com/algolia","followers_url":"https://api.github.com/users/algolia/followers","following_url":"https://api.github.com/users/algolia/following{/other_user}","gists_url":"https://api.github.com/users/algolia/gists{/gist_id}","starred_url":"https://api.github.com/users/algolia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algolia/subscriptions","organizations_url":"https://api.github.com/users/algolia/orgs","repos_url":"https://api.github.com/users/algolia/repos","events_url":"https://api.github.com/users/algolia/events{/privacy}","received_events_url":"https://api.github.com/users/algolia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/algolia/algoliasearch-laravel","description":"Seamless integration of Algolia into your Laravel project.","fork":false,"url":"https://api.github.com/repos/algolia/algoliasearch-laravel","forks_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/forks","keys_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/teams","hooks_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/hooks","issue_events_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/issues/events{/number}","events_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/events","assignees_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/assignees{/user}","branches_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/branches{/branch}","tags_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/tags","blobs_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/git/refs{/sha}","trees_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/statuses/{sha}","languages_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/languages","stargazers_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/stargazers","contributors_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/contributors","subscribers_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/subscribers","subscription_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/subscription","commits_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/commits{/sha}","git_commits_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/git/commits{/sha}","comments_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/comments{/number}","issue_comment_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/issues/comments{/number}","contents_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/contents/{+path}","compare_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/merges","archive_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/downloads","issues_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/issues{/number}","pulls_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/pulls{/number}","milestones_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/milestones{/number}","notifications_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/labels{/name}","releases_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/releases{/id}","deployments_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/deployments","created_at":"2015-05-06T16:16:29Z","updated_at":"2016-09-30T21:30:13Z","pushed_at":"2016-10-03T16:29:27Z","git_url":"git://github.com/algolia/algoliasearch-laravel.git","ssh_url":"git@github.com:algolia/algoliasearch-laravel.git","clone_url":"https://github.com/algolia/algoliasearch-laravel.git","svn_url":"https://github.com/algolia/algoliasearch-laravel","homepage":"https://www.algolia.com","size":133,"stargazers_count":142,"watchers_count":142,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":5,"forks":31,"open_issues":5,"watchers":142,"default_branch":"master"}},"base":{"label":"algolia:master","ref":"master","sha":"0a1e571afa3f82127d95b69ceaa393067fa84ba2","user":{"login":"algolia","id":2034458,"avatar_url":"https://avatars.githubusercontent.com/u/2034458?v=3","gravatar_id":"","url":"https://api.github.com/users/algolia","html_url":"https://github.com/algolia","followers_url":"https://api.github.com/users/algolia/followers","following_url":"https://api.github.com/users/algolia/following{/other_user}","gists_url":"https://api.github.com/users/algolia/gists{/gist_id}","starred_url":"https://api.github.com/users/algolia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algolia/subscriptions","organizations_url":"https://api.github.com/users/algolia/orgs","repos_url":"https://api.github.com/users/algolia/repos","events_url":"https://api.github.com/users/algolia/events{/privacy}","received_events_url":"https://api.github.com/users/algolia/received_events","type":"Organization","site_admin":false},"repo":{"id":35169633,"name":"algoliasearch-laravel","full_name":"algolia/algoliasearch-laravel","owner":{"login":"algolia","id":2034458,"avatar_url":"https://avatars.githubusercontent.com/u/2034458?v=3","gravatar_id":"","url":"https://api.github.com/users/algolia","html_url":"https://github.com/algolia","followers_url":"https://api.github.com/users/algolia/followers","following_url":"https://api.github.com/users/algolia/following{/other_user}","gists_url":"https://api.github.com/users/algolia/gists{/gist_id}","starred_url":"https://api.github.com/users/algolia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algolia/subscriptions","organizations_url":"https://api.github.com/users/algolia/orgs","repos_url":"https://api.github.com/users/algolia/repos","events_url":"https://api.github.com/users/algolia/events{/privacy}","received_events_url":"https://api.github.com/users/algolia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/algolia/algoliasearch-laravel","description":"Seamless integration of Algolia into your Laravel project.","fork":false,"url":"https://api.github.com/repos/algolia/algoliasearch-laravel","forks_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/forks","keys_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/teams","hooks_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/hooks","issue_events_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/issues/events{/number}","events_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/events","assignees_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/assignees{/user}","branches_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/branches{/branch}","tags_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/tags","blobs_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/git/refs{/sha}","trees_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/statuses/{sha}","languages_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/languages","stargazers_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/stargazers","contributors_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/contributors","subscribers_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/subscribers","subscription_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/subscription","commits_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/commits{/sha}","git_commits_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/git/commits{/sha}","comments_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/comments{/number}","issue_comment_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/issues/comments{/number}","contents_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/contents/{+path}","compare_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/merges","archive_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/downloads","issues_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/issues{/number}","pulls_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/pulls{/number}","milestones_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/milestones{/number}","notifications_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/labels{/name}","releases_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/releases{/id}","deployments_url":"https://api.github.com/repos/algolia/algoliasearch-laravel/deployments","created_at":"2015-05-06T16:16:29Z","updated_at":"2016-09-30T21:30:13Z","pushed_at":"2016-10-03T16:29:27Z","git_url":"git://github.com/algolia/algoliasearch-laravel.git","ssh_url":"git@github.com:algolia/algoliasearch-laravel.git","clone_url":"https://github.com/algolia/algoliasearch-laravel.git","svn_url":"https://github.com/algolia/algoliasearch-laravel","homepage":"https://www.algolia.com","size":133,"stargazers_count":142,"watchers_count":142,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":5,"forks":31,"open_issues":5,"watchers":142,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/algolia/algoliasearch-laravel/pulls/81"},"html":{"href":"https://github.com/algolia/algoliasearch-laravel/pull/81"},"issue":{"href":"https://api.github.com/repos/algolia/algoliasearch-laravel/issues/81"},"comments":{"href":"https://api.github.com/repos/algolia/algoliasearch-laravel/issues/81/comments"},"review_comments":{"href":"https://api.github.com/repos/algolia/algoliasearch-laravel/pulls/81/comments"},"review_comment":{"href":"https://api.github.com/repos/algolia/algoliasearch-laravel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/algolia/algoliasearch-laravel/pulls/81/commits"},"statuses":{"href":"https://api.github.com/repos/algolia/algoliasearch-laravel/statuses/05dae1f2e6780fcc46c7e9059c0c0e99eff06b9b"}}}}
{"actor":{"display_login":"JanPetr"}}