Fixed bug that collect() cannot be found.

This commit is contained in:
李铭昕 2023-08-30 13:39:38 +08:00
parent d57affbb69
commit 7da2da17c3

View File

@ -23,6 +23,8 @@ use Hyperf\Validation\Validator;
use Hyperf\Validation\ValidatorFactory;
use InvalidArgumentException;
use function Hyperf\Collection\collect;
class File implements Rule, DataAwareRule, ValidatorAwareRule
{
use Conditionable;