{"action":"created","comment":{"url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/pulls/comments/24396153","id":24396153,"diff_hunk":"@@ -29,28 +29,26 @@\n  */\n class FacebookMemoryPersistentDataHandler implements PersistentDataInterface\n {\n+    /**\n+     * @var array The session data to keep in memory.\n+     */\n+    protected $sessionData = [];\n \n-  /**\n-   * @var array The session data to keep in memory.\n-   */\n-  protected $sessionData = [];\n-\n-  /**\n-   * @inheritdoc\n-   */\n-  public function get($key)\n-  {\n-    return isset($this->sessionData[$key])\n-      ? $this->sessionData[$key]\n-      : null;\n-  }\n-\n-  /**\n-   * @inheritdoc\n-   */\n-  public function set($key, $value)\n-  {\n-    $this->sessionData[$key] = $value;\n-  }\n+    /**\n+     * @inheritdoc\n+     */\n+    public function get($key)\n+    {\n+        return isset($this->sessionData[$key])\n+            ? $this->sessionData[$key]\n+            : null;","path":"src/Facebook/PersistentData/FacebookMemoryPersistentDataHandler.php","position":38,"original_position":38,"commit_id":"8ca076f2b18302a27d626ff30c81c9aceccba4b2","original_commit_id":"8ca076f2b18302a27d626ff30c81c9aceccba4b2","user":{"login":"yguedidi","id":1480128,"avatar_url":"https://avatars.githubusercontent.com/u/1480128?v=3","gravatar_id":"","url":"https://api.github.com/users/yguedidi","html_url":"https://github.com/yguedidi","followers_url":"https://api.github.com/users/yguedidi/followers","following_url":"https://api.github.com/users/yguedidi/following{/other_user}","gists_url":"https://api.github.com/users/yguedidi/gists{/gist_id}","starred_url":"https://api.github.com/users/yguedidi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yguedidi/subscriptions","organizations_url":"https://api.github.com/users/yguedidi/orgs","repos_url":"https://api.github.com/users/yguedidi/repos","events_url":"https://api.github.com/users/yguedidi/events{/privacy}","received_events_url":"https://api.github.com/users/yguedidi/received_events","type":"User","site_admin":false},"body":"One line IMO","created_at":"2015-02-10T08:38:57Z","updated_at":"2015-02-10T08:38:57Z","html_url":"https://github.com/facebook/facebook-php-sdk-v4/pull/348#discussion_r24396153","pull_request_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/pulls/348","_links":{"self":{"href":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/pulls/comments/24396153"},"html":{"href":"https://github.com/facebook/facebook-php-sdk-v4/pull/348#discussion_r24396153"},"pull_request":{"href":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/pulls/348"}}},"pull_request":{"url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/pulls/348","id":28974010,"html_url":"https://github.com/facebook/facebook-php-sdk-v4/pull/348","diff_url":"https://github.com/facebook/facebook-php-sdk-v4/pull/348.diff","patch_url":"https://github.com/facebook/facebook-php-sdk-v4/pull/348.patch","issue_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/issues/348","number":348,"state":"open","locked":false,"title":"Bringing Facbebook\\PersistentData namespace into PSR2 compliance","user":{"login":"stevenmaguire","id":1851973,"avatar_url":"https://avatars.githubusercontent.com/u/1851973?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenmaguire","html_url":"https://github.com/stevenmaguire","followers_url":"https://api.github.com/users/stevenmaguire/followers","following_url":"https://api.github.com/users/stevenmaguire/following{/other_user}","gists_url":"https://api.github.com/users/stevenmaguire/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenmaguire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenmaguire/subscriptions","organizations_url":"https://api.github.com/users/stevenmaguire/orgs","repos_url":"https://api.github.com/users/stevenmaguire/repos","events_url":"https://api.github.com/users/stevenmaguire/events{/privacy}","received_events_url":"https://api.github.com/users/stevenmaguire/received_events","type":"User","site_admin":false},"body":"It's happening.","created_at":"2015-02-10T01:39:23Z","updated_at":"2015-02-10T08:38:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2e114ecb6b2b7f282e74b1d072600c2d8b5f9087","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/pulls/348/commits","review_comments_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/pulls/348/comments","review_comment_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/pulls/comments/{number}","comments_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/issues/348/comments","statuses_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/statuses/8ca076f2b18302a27d626ff30c81c9aceccba4b2","head":{"label":"stevenmaguire:persisten_data_namespace_psr2","ref":"persisten_data_namespace_psr2","sha":"8ca076f2b18302a27d626ff30c81c9aceccba4b2","user":{"login":"stevenmaguire","id":1851973,"avatar_url":"https://avatars.githubusercontent.com/u/1851973?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenmaguire","html_url":"https://github.com/stevenmaguire","followers_url":"https://api.github.com/users/stevenmaguire/followers","following_url":"https://api.github.com/users/stevenmaguire/following{/other_user}","gists_url":"https://api.github.com/users/stevenmaguire/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenmaguire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenmaguire/subscriptions","organizations_url":"https://api.github.com/users/stevenmaguire/orgs","repos_url":"https://api.github.com/users/stevenmaguire/repos","events_url":"https://api.github.com/users/stevenmaguire/events{/privacy}","received_events_url":"https://api.github.com/users/stevenmaguire/received_events","type":"User","site_admin":false},"repo":{"id":28877587,"name":"facebook-php-sdk-v4","full_name":"stevenmaguire/facebook-php-sdk-v4","owner":{"login":"stevenmaguire","id":1851973,"avatar_url":"https://avatars.githubusercontent.com/u/1851973?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenmaguire","html_url":"https://github.com/stevenmaguire","followers_url":"https://api.github.com/users/stevenmaguire/followers","following_url":"https://api.github.com/users/stevenmaguire/following{/other_user}","gists_url":"https://api.github.com/users/stevenmaguire/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenmaguire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenmaguire/subscriptions","organizations_url":"https://api.github.com/users/stevenmaguire/orgs","repos_url":"https://api.github.com/users/stevenmaguire/repos","events_url":"https://api.github.com/users/stevenmaguire/events{/privacy}","received_events_url":"https://api.github.com/users/stevenmaguire/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stevenmaguire/facebook-php-sdk-v4","description":"The Facebook SDK for PHP provides a native interface to the Graph API and Facebook Login.  https://developers.facebook.com/docs/php","fork":true,"url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4","forks_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/forks","keys_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/teams","hooks_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/hooks","issue_events_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/issues/events{/number}","events_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/events","assignees_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/assignees{/user}","branches_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/branches{/branch}","tags_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/tags","blobs_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/git/refs{/sha}","trees_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/statuses/{sha}","languages_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/languages","stargazers_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/stargazers","contributors_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/contributors","subscribers_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/subscribers","subscription_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/subscription","commits_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/commits{/sha}","git_commits_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/git/commits{/sha}","comments_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/comments{/number}","issue_comment_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/issues/comments/{number}","contents_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/contents/{+path}","compare_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/merges","archive_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/downloads","issues_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/issues{/number}","pulls_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/pulls{/number}","milestones_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/milestones{/number}","notifications_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/labels{/name}","releases_url":"https://api.github.com/repos/stevenmaguire/facebook-php-sdk-v4/releases{/id}","created_at":"2015-01-06T18:41:21Z","updated_at":"2015-01-28T17:01:14Z","pushed_at":"2015-02-10T01:38:28Z","git_url":"git://github.com/stevenmaguire/facebook-php-sdk-v4.git","ssh_url":"git@github.com:stevenmaguire/facebook-php-sdk-v4.git","clone_url":"https://github.com/stevenmaguire/facebook-php-sdk-v4.git","svn_url":"https://github.com/stevenmaguire/facebook-php-sdk-v4","homepage":null,"size":883,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"4.0-dev"}},"base":{"label":"facebook:master","ref":"master","sha":"c43d138c864b0836b903dffdf2904416a7b49e91","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":18842338,"name":"facebook-php-sdk-v4","full_name":"facebook/facebook-php-sdk-v4","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/facebook-php-sdk-v4","description":"The Facebook SDK for PHP provides a native interface to the Graph API and Facebook Login.  https://developers.facebook.com/docs/php","fork":false,"url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4","forks_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/forks","keys_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/teams","hooks_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/hooks","issue_events_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/events","assignees_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/tags","blobs_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/languages","stargazers_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/stargazers","contributors_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/contributors","subscribers_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/subscribers","subscription_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/subscription","commits_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/issues/comments/{number}","contents_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/merges","archive_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/downloads","issues_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/labels{/name}","releases_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/releases{/id}","created_at":"2014-04-16T14:20:43Z","updated_at":"2015-02-10T02:18:09Z","pushed_at":"2015-02-07T03:09:32Z","git_url":"git://github.com/facebook/facebook-php-sdk-v4.git","ssh_url":"git@github.com:facebook/facebook-php-sdk-v4.git","clone_url":"https://github.com/facebook/facebook-php-sdk-v4.git","svn_url":"https://github.com/facebook/facebook-php-sdk-v4","homepage":null,"size":2641,"stargazers_count":567,"watchers_count":567,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":324,"mirror_url":null,"open_issues_count":15,"forks":324,"open_issues":15,"watchers":567,"default_branch":"4.0-dev"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/pulls/348"},"html":{"href":"https://github.com/facebook/facebook-php-sdk-v4/pull/348"},"issue":{"href":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/issues/348"},"comments":{"href":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/issues/348/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/pulls/348/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/pulls/348/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/statuses/8ca076f2b18302a27d626ff30c81c9aceccba4b2"}}}}