且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

该模拟对象上不存在方法-Laravel,Mockery

更新时间:2021-10-30 08:42:02

我在控制器中发现了此错误的来源. 说错了

I have found a source of this bug in controller. calling wrong

$v = $mealType->getValidator($input);

代替正确

$v = $this->mealType->getValidator($input);