diff --git a/.gitattributes b/.gitattributes index 11d1ae3..5f13d00 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,4 @@ -/.coveralls export-ignore +/.coveralls.yml export-ignore /.gitattributes export-ignore /.gitignore export-ignore /.travis.yml export-ignore diff --git a/src/Field.php b/src/Field.php index ff07554..73bd45e 100644 --- a/src/Field.php +++ b/src/Field.php @@ -431,6 +431,9 @@ public function validate(Collection $collection = null) return count($this->errors) === 0; } + /** + * @return array + */ public function getErrors() { return $this->errors;