{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2-bootstrap/issues/130","repository_url":"https://api.github.com/repos/yiisoft/yii2-bootstrap","labels_url":"https://api.github.com/repos/yiisoft/yii2-bootstrap/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2-bootstrap/issues/130/comments","events_url":"https://api.github.com/repos/yiisoft/yii2-bootstrap/issues/130/events","html_url":"https://github.com/yiisoft/yii2-bootstrap/pull/130","id":148937778,"number":130,"title":"Fix: Now content property can accept pure numerical value.","user":{"login":"meysampg","id":1416085,"avatar_url":"https://avatars.githubusercontent.com/u/1416085?v=3","gravatar_id":"","url":"https://api.github.com/users/meysampg","html_url":"https://github.com/meysampg","followers_url":"https://api.github.com/users/meysampg/followers","following_url":"https://api.github.com/users/meysampg/following{/other_user}","gists_url":"https://api.github.com/users/meysampg/gists{/gist_id}","starred_url":"https://api.github.com/users/meysampg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meysampg/subscriptions","organizations_url":"https://api.github.com/users/meysampg/orgs","repos_url":"https://api.github.com/users/meysampg/repos","events_url":"https://api.github.com/users/meysampg/events{/privacy}","received_events_url":"https://api.github.com/users/meysampg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yiisoft/yii2-bootstrap/labels/bug","name":"bug","color":"e102d8"}],"state":"open","locked":false,"assignee":{"login":"samdark","id":47294,"avatar_url":"https://avatars.githubusercontent.com/u/47294?v=3","gravatar_id":"","url":"https://api.github.com/users/samdark","html_url":"https://github.com/samdark","followers_url":"https://api.github.com/users/samdark/followers","following_url":"https://api.github.com/users/samdark/following{/other_user}","gists_url":"https://api.github.com/users/samdark/gists{/gist_id}","starred_url":"https://api.github.com/users/samdark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samdark/subscriptions","organizations_url":"https://api.github.com/users/samdark/orgs","repos_url":"https://api.github.com/users/samdark/repos","events_url":"https://api.github.com/users/samdark/events{/privacy}","received_events_url":"https://api.github.com/users/samdark/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/yiisoft/yii2-bootstrap/milestones/6","html_url":"https://github.com/yiisoft/yii2-bootstrap/milestones/2.0.7","labels_url":"https://api.github.com/repos/yiisoft/yii2-bootstrap/milestones/6/labels","id":1320810,"number":6,"title":"2.0.7","description":"","creator":{"login":"cebe","id":189796,"avatar_url":"https://avatars.githubusercontent.com/u/189796?v=3","gravatar_id":"","url":"https://api.github.com/users/cebe","html_url":"https://github.com/cebe","followers_url":"https://api.github.com/users/cebe/followers","following_url":"https://api.github.com/users/cebe/following{/other_user}","gists_url":"https://api.github.com/users/cebe/gists{/gist_id}","starred_url":"https://api.github.com/users/cebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cebe/subscriptions","organizations_url":"https://api.github.com/users/cebe/orgs","repos_url":"https://api.github.com/users/cebe/repos","events_url":"https://api.github.com/users/cebe/events{/privacy}","received_events_url":"https://api.github.com/users/cebe/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":3,"state":"open","created_at":"2015-09-23T17:35:14Z","updated_at":"2016-04-17T14:36:39Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-04-17T10:19:40Z","updated_at":"2016-04-18T03:56:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/yiisoft/yii2-bootstrap/pulls/130","html_url":"https://github.com/yiisoft/yii2-bootstrap/pull/130","diff_url":"https://github.com/yiisoft/yii2-bootstrap/pull/130.diff","patch_url":"https://github.com/yiisoft/yii2-bootstrap/pull/130.patch"},"body":"On late, if you have something like this on collapse:\r\n```\r\necho Collapse::widget([\r\n\t'items' => [\r\n        [\r\n            'label' => 'Sample label',\r\n            'content' => 1,\r\n        ],\r\n    ]\r\n]);\r\n```\r\n`Yii` has thrown an exception that `The \"content\" option should be a string, array or object.`, but in some situations you need to print only numerical value on collapse. This pull request fix this bug.\r\n\r\n| Q             | A\r\n| ------------- | ---\r\n| Is bugfix?    | yes\r\n| New feature?  | no\r\n| Breaks BC?    | no\r\n| Tests pass?   | yes\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2-bootstrap/issues/comments/211183141","html_url":"https://github.com/yiisoft/yii2-bootstrap/pull/130#issuecomment-211183141","issue_url":"https://api.github.com/repos/yiisoft/yii2-bootstrap/issues/130","id":211183141,"user":{"login":"meysampg","id":1416085,"avatar_url":"https://avatars.githubusercontent.com/u/1416085?v=3","gravatar_id":"","url":"https://api.github.com/users/meysampg","html_url":"https://github.com/meysampg","followers_url":"https://api.github.com/users/meysampg/followers","following_url":"https://api.github.com/users/meysampg/following{/other_user}","gists_url":"https://api.github.com/users/meysampg/gists{/gist_id}","starred_url":"https://api.github.com/users/meysampg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meysampg/subscriptions","organizations_url":"https://api.github.com/users/meysampg/orgs","repos_url":"https://api.github.com/users/meysampg/repos","events_url":"https://api.github.com/users/meysampg/events{/privacy}","received_events_url":"https://api.github.com/users/meysampg/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T03:56:49Z","updated_at":"2016-04-18T03:56:49Z","body":"@samdark Done!"}}