Laravel 项目使用 phpDocumentor 时方法下总是报 warning 信息?
Warning: count(): Parameter must be an array or an object that implements Countable in phar:///home/vagrant/shop/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293
Warning: count(): Parameter must be an array or an object that implements Countable in phar:///home/vagrant/shop/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293
如题所述,每一个方法下面都会报这样的警告信息,应该如何解决呢。
推荐文章: