{"action":"opened","issue":{"url":"https://api.github.com/repos/BugBuster1701/dlstats/issues/65","labels_url":"https://api.github.com/repos/BugBuster1701/dlstats/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/BugBuster1701/dlstats/issues/65/comments","events_url":"https://api.github.com/repos/BugBuster1701/dlstats/issues/65/events","html_url":"https://github.com/BugBuster1701/dlstats/issues/65","id":59878683,"number":65,"title":"[Insight] Boolean should be compared strictly - in …/ModuleDlstatsStatisticsHelper.php, line 58","user":{"login":"BugBuster1701","id":1218809,"avatar_url":"https://avatars.githubusercontent.com/u/1218809?v=3","gravatar_id":"","url":"https://api.github.com/users/BugBuster1701","html_url":"https://github.com/BugBuster1701","followers_url":"https://api.github.com/users/BugBuster1701/followers","following_url":"https://api.github.com/users/BugBuster1701/following{/other_user}","gists_url":"https://api.github.com/users/BugBuster1701/gists{/gist_id}","starred_url":"https://api.github.com/users/BugBuster1701/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BugBuster1701/subscriptions","organizations_url":"https://api.github.com/users/BugBuster1701/orgs","repos_url":"https://api.github.com/users/BugBuster1701/repos","events_url":"https://api.github.com/users/BugBuster1701/events{/privacy}","received_events_url":"https://api.github.com/users/BugBuster1701/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/BugBuster1701/dlstats/labels/Insight","name":"Insight","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"BugBuster1701","id":1218809,"avatar_url":"https://avatars.githubusercontent.com/u/1218809?v=3","gravatar_id":"","url":"https://api.github.com/users/BugBuster1701","html_url":"https://github.com/BugBuster1701","followers_url":"https://api.github.com/users/BugBuster1701/followers","following_url":"https://api.github.com/users/BugBuster1701/following{/other_user}","gists_url":"https://api.github.com/users/BugBuster1701/gists{/gist_id}","starred_url":"https://api.github.com/users/BugBuster1701/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BugBuster1701/subscriptions","organizations_url":"https://api.github.com/users/BugBuster1701/orgs","repos_url":"https://api.github.com/users/BugBuster1701/repos","events_url":"https://api.github.com/users/BugBuster1701/events{/privacy}","received_events_url":"https://api.github.com/users/BugBuster1701/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-03-04T23:16:03Z","updated_at":"2015-03-04T23:16:03Z","closed_at":null,"body":"**[in classes/ModuleDlstatsStatisticsHelper.php, line 58](https://github.com/BugBuster1701/dlstats/blob/ab94a539948b827741d595a3eb48500969c421be/classes/ModuleDlstatsStatisticsHelper.php#L58)**\r\n\r\n> With booleans, only strict comparison (with `===` operator) should be used to lower bug risks and to improve performances.\r\n\r\n```php\r\n     * Return the current object instance (Singleton)\r\n     * @return BotStatisticsHelper\r\n     */\r\n    public static function getInstance()\r\n    {\r\n        if (self::$instance == null)\r\n        {\r\n            self::$instance = new ModuleDlstatsStatisticsHelper();\r\n        }\r\n    \r\n        return self::$instance;\r\n```\r\n\r\n---------------------\r\n\r\n_Posted from [SensioLabsInsight](https://insight.sensiolabs.com/projects/a1783611-1fc3-4040-a824-18de2d97c3ea/analyses/1)_"}}