- Laravel Version: 5.4.6
- PHP Version: 7.1.2
Description:
The validation rule for an array allows for an empty string which seems weird to me, see the following example:
Steps To Reproduce:
$ php artisan tinker
>>> (\Validator::make( ['field' => ""], ['field' => 'array'] ))->passes();
=> true
Tested with:
$ php artisan --version
Laravel Framework Lumen (5.4.6) (Laravel Components 5.4.*)