mirror of
https://github.com/vlucas/valitron.git
synced 2025-12-30 23:01:52 +00:00
Merge branch 'master' into validators-patch
This commit is contained in:
commit
36404a83b7
@ -1,5 +1,6 @@
|
||||
# see http://about.travis-ci.org/docs/user/languages/php/ for more hints
|
||||
language: php
|
||||
dist: precise
|
||||
|
||||
# list any PHP version you want to test against
|
||||
php:
|
||||
|
||||
@ -146,7 +146,7 @@ class Validator
|
||||
* @param array $params
|
||||
* @return bool
|
||||
*/
|
||||
protected function validateRequired($field, $value, array $params = array())
|
||||
protected function validateRequired($field, $value, $params = array())
|
||||
{
|
||||
if (isset($params[0]) && (bool)$params[0]) {
|
||||
$find = $this->getPart($this->_fields, explode('.', $field), true);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user