{"action":"opened","issue":{"url":"https://api.github.com/repos/Respect/Validation/issues/348","labels_url":"https://api.github.com/repos/Respect/Validation/issues/348/labels{/name}","comments_url":"https://api.github.com/repos/Respect/Validation/issues/348/comments","events_url":"https://api.github.com/repos/Respect/Validation/issues/348/events","html_url":"https://github.com/Respect/Validation/issues/348","id":74367426,"number":348,"title":"Validating array returning incomplete errors.","user":{"login":"bhulsman","id":612651,"avatar_url":"https://avatars.githubusercontent.com/u/612651?v=3","gravatar_id":"","url":"https://api.github.com/users/bhulsman","html_url":"https://github.com/bhulsman","followers_url":"https://api.github.com/users/bhulsman/followers","following_url":"https://api.github.com/users/bhulsman/following{/other_user}","gists_url":"https://api.github.com/users/bhulsman/gists{/gist_id}","starred_url":"https://api.github.com/users/bhulsman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhulsman/subscriptions","organizations_url":"https://api.github.com/users/bhulsman/orgs","repos_url":"https://api.github.com/users/bhulsman/repos","events_url":"https://api.github.com/users/bhulsman/events{/privacy}","received_events_url":"https://api.github.com/users/bhulsman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-08T13:38:18Z","updated_at":"2015-05-08T13:38:18Z","closed_at":null,"body":"I enter a customer ID, but leave the email address empty:\r\n\r\n```\r\ntry {\r\n$inputValidator = Validator::arr()\r\n->key('customer_id', Validator::int())\r\n->key('email_address', Validator::email()->notEmpty())\r\n->assert($_POST['register']);\r\n} catch(NestedValidationExceptionInterface $exception) {\r\ndd($exception->getFullMessage());\r\n}\r\n```\r\n\r\nreturns\r\n\r\n```\r\nstring '\\-These rules must pass for \"Array\"\r\n  \\-\"\" must not be empty' (length=60)\r\n```\r\nThe Array error is strange, but the empty key for the 'must not be empty' error is even stranger."}}