{"action":"opened","issue":{"url":"https://api.github.com/repos/themsaid/laravel-langman/issues/48","repository_url":"https://api.github.com/repos/themsaid/laravel-langman","labels_url":"https://api.github.com/repos/themsaid/laravel-langman/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/themsaid/laravel-langman/issues/48/comments","events_url":"https://api.github.com/repos/themsaid/laravel-langman/issues/48/events","html_url":"https://github.com/themsaid/laravel-langman/issues/48","id":169350647,"number":48,"title":"Ignore \"arrays\" when sync","user":{"login":"Luddinus","id":7340521,"avatar_url":"https://avatars.githubusercontent.com/u/7340521?v=3","gravatar_id":"","url":"https://api.github.com/users/Luddinus","html_url":"https://github.com/Luddinus","followers_url":"https://api.github.com/users/Luddinus/followers","following_url":"https://api.github.com/users/Luddinus/following{/other_user}","gists_url":"https://api.github.com/users/Luddinus/gists{/gist_id}","starred_url":"https://api.github.com/users/Luddinus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Luddinus/subscriptions","organizations_url":"https://api.github.com/users/Luddinus/orgs","repos_url":"https://api.github.com/users/Luddinus/repos","events_url":"https://api.github.com/users/Luddinus/events{/privacy}","received_events_url":"https://api.github.com/users/Luddinus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-04T11:16:36Z","updated_at":"2016-08-04T11:16:36Z","closed_at":null,"body":"Hi,\r\n\r\nI have this lang file e.g\r\n\r\n```\r\n// file lang/users.php\r\nreturn [\r\n   'tips' => [\r\n      'one' => 'First tip',\r\n      'two' => 'Second tip',\r\n      // etc.\r\n   ]\r\n];\r\n```\r\n\r\nAnd in a controller or a file inside app directory:\r\n\r\n```\r\n// lang('users.tips') is an array\r\nforeach (lang('users.tips') as $tip) {\r\n   // do something with the texts\r\n}\r\n```\r\n\r\nSo the problem is that when I use \"langman:sync\" command, it writes an empty array in tips.\r\n\r\n```\r\n// file lang/users.php\r\nreturn [\r\n   'tips' => ''\r\n];\r\n```\r\n\r\nIs this a bug or an expected behauvior?\r\n\r\nAnyway, congrats for the package, it rocks."}}
{"actor":{"display_login":"Luddinus"}}