{"action":"opened","issue":{"url":"https://api.github.com/repos/InfyOmLabs/laravel-generator/issues/99","repository_url":"https://api.github.com/repos/InfyOmLabs/laravel-generator","labels_url":"https://api.github.com/repos/InfyOmLabs/laravel-generator/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/InfyOmLabs/laravel-generator/issues/99/comments","events_url":"https://api.github.com/repos/InfyOmLabs/laravel-generator/issues/99/events","html_url":"https://github.com/InfyOmLabs/laravel-generator/issues/99","id":145030202,"number":99,"title":"Help with foreing keys","user":{"login":"Pilote1989","id":5010503,"avatar_url":"https://avatars.githubusercontent.com/u/5010503?v=3","gravatar_id":"","url":"https://api.github.com/users/Pilote1989","html_url":"https://github.com/Pilote1989","followers_url":"https://api.github.com/users/Pilote1989/followers","following_url":"https://api.github.com/users/Pilote1989/following{/other_user}","gists_url":"https://api.github.com/users/Pilote1989/gists{/gist_id}","starred_url":"https://api.github.com/users/Pilote1989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pilote1989/subscriptions","organizations_url":"https://api.github.com/users/Pilote1989/orgs","repos_url":"https://api.github.com/users/Pilote1989/repos","events_url":"https://api.github.com/users/Pilote1989/events{/privacy}","received_events_url":"https://api.github.com/users/Pilote1989/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-31T21:59:52Z","updated_at":"2016-03-31T21:59:52Z","closed_at":null,"body":"\r\nHi, im trying to generate via json and one field of the model is the following:\r\n\r\n```\r\n    {\r\n        \"fieldInput\": \"idPersona:integer\",\r\n        \"htmlType\": \"text\",\r\n        \"validations\": \"required|exists:users,id\",\r\n        \"searchable\": true,\r\n        \"inForm\": true,\r\n        \"inIndex\": true\r\n    },\r\n```\r\n\r\nBut i get this error : \"Invalid argument supplied for foreach()\", what im doing wrong?"}}