GitHub PullRequestReviewCommentEvent at 2014-04-25 14:40:26
Repository: WikibaseDataModel
Actor: JeroenDeDauw
Payload: {"comment":{"url":"https://api.github.com/repos/wmde/WikibaseDataModel/pulls/comments/11999306","id":11999306,"diff_hunk":"@@ -103,4 +99,35 @@ protected function idFromSerialization( $idSerialization ) {\n \t\treturn new PropertyId( $idSerialization );\n \t}\n \n+\t/**\n+\t * @see Comparable::equals\n+\t *\n+\t * Two items are considered equal if they are of the same\n+\t * type and have the same value. The value does not include\n+\t * the id, so entities with the same value but different id\n+\t * are considered equal.\n+\t *\n+\t * @since 0.1\n+\t *\n+\t * @param mixed $that\n+\t *\n+\t * @return boolean\n+\t */\n+\tpublic function equals( $that ) {\n+\t\tif ( $that === $this ) {\n+\t\t\treturn true;\n+\t\t}\n+\n+\t\tif ( !is_object( $that ) || ( get_class( $this ) !== get_class( $that ) ) ) {","path":"src/Entity/Property.php","position":null,"original_position":129,"commit_id":"08cd23c6d7281a435fb3c69135d80d4c3d8aa2c9","original_commit_id":"84c339fae0c2e6baf98fe75e66f208645a2b06eb","user":{"login":"JeroenDeDauw","id":146040,"avatar_url":"https://avatars.githubusercontent.com/u/146040?","gravatar_id":"b6af5e35644a712550f678d5e6403850","url":"https://api.github.com/users/JeroenDeDauw","html_url":"https://github.com/JeroenDeDauw","followers_url":"https://api.github.com/users/JeroenDeDauw/followers","following_url":"https://api.github.com/users/JeroenDeDauw/following{/other_user}","gists_url":"https://api.github.com/users/JeroenDeDauw/gists{/gist_id}","starred_url":"https://api.github.com/users/JeroenDeDauw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeroenDeDauw/subscriptions","organizations_url":"https://api.github.com/users/JeroenDeDauw/orgs","repos_url":"https://api.github.com/users/JeroenDeDauw/repos","events_url":"https://api.github.com/users/JeroenDeDauw/events{/privacy}","received_events_url":"https://api.github.com/users/JeroenDeDauw/received_events","type":"User","site_admin":false},"body":"Updated now","created_at":"2014-04-25T14:40:26Z","updated_at":"2014-04-25T14:40:26Z","html_url":"https://github.com/wmde/WikibaseDataModel/pull/62#discussion_r11999306","pull_request_url":"https://api.github.com/repos/wmde/WikibaseDataModel/pulls/62","_links":{"self":{"href":"https://api.github.com/repos/wmde/WikibaseDataModel/pulls/comments/11999306"},"html":{"href":"https://github.com/wmde/WikibaseDataModel/pull/62#discussion_r11999306"},"pull_request":{"href":"https://api.github.com/repos/wmde/WikibaseDataModel/pulls/62"}}}}