{"action":"created","issue":{"url":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/3885","labels_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/3885/labels{/name}","comments_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/3885/comments","events_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/3885/events","html_url":"https://github.com/bcit-ci/CodeIgniter/issues/3885","id":81368305,"number":3885,"title":"Return NULL from $this->lang->line() instead of FALSE","user":{"login":"softwarespot","id":5333690,"avatar_url":"https://avatars.githubusercontent.com/u/5333690?v=3","gravatar_id":"","url":"https://api.github.com/users/softwarespot","html_url":"https://github.com/softwarespot","followers_url":"https://api.github.com/users/softwarespot/followers","following_url":"https://api.github.com/users/softwarespot/following{/other_user}","gists_url":"https://api.github.com/users/softwarespot/gists{/gist_id}","starred_url":"https://api.github.com/users/softwarespot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/softwarespot/subscriptions","organizations_url":"https://api.github.com/users/softwarespot/orgs","repos_url":"https://api.github.com/users/softwarespot/repos","events_url":"https://api.github.com/users/softwarespot/events{/privacy}","received_events_url":"https://api.github.com/users/softwarespot/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-27T09:31:47Z","updated_at":"2015-05-27T11:49:36Z","closed_at":"2015-05-27T11:49:36Z","body":"Inside Lang.php -> line(), the function returns FALSE when a translation isn't found, though wouldn't it seem more logical to return NULL considering the return type is of string and not as bool?"},"comment":{"url":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/comments/105881799","html_url":"https://github.com/bcit-ci/CodeIgniter/issues/3885#issuecomment-105881799","issue_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/3885","id":105881799,"user":{"login":"narfbg","id":1058011,"avatar_url":"https://avatars.githubusercontent.com/u/1058011?v=3","gravatar_id":"","url":"https://api.github.com/users/narfbg","html_url":"https://github.com/narfbg","followers_url":"https://api.github.com/users/narfbg/followers","following_url":"https://api.github.com/users/narfbg/following{/other_user}","gists_url":"https://api.github.com/users/narfbg/gists{/gist_id}","starred_url":"https://api.github.com/users/narfbg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/narfbg/subscriptions","organizations_url":"https://api.github.com/users/narfbg/orgs","repos_url":"https://api.github.com/users/narfbg/repos","events_url":"https://api.github.com/users/narfbg/events{/privacy}","received_events_url":"https://api.github.com/users/narfbg/received_events","type":"User","site_admin":false},"created_at":"2015-05-27T11:49:36Z","updated_at":"2015-05-27T11:49:36Z","body":"The return type is mixed, not string. But regardless, answers to questions like this would be highly subjective and hardly ever productive ..."}}