我的查询是这样的:
$this->user_repository->findWhereNotIn('id', [1, 2, 3, 4]);
执行时,存在如下错误:
[Symfony\Component\Debug\Exception\FatalThrowableError] 类型错误:传递给 Rinvex\Repository\Repositories\EloquentRepository::findWhereNotIn() 的参数 1 必须是数组类型,给定字符串,在 C:\xampp\htdocs\myshop 中调用第 48 行的 \app\Console\Commands\Check.php
而在教程https://github.com/rinvex/repository#findwherenotin中,看起来我的查询是正确的
我该如何解决?