diff --git a/console/controllers/FeedController.php b/console/controllers/FeedController.php index 2ad7a19..12e640a 100644 --- a/console/controllers/FeedController.php +++ b/console/controllers/FeedController.php @@ -21,7 +21,7 @@ class FeedController extends Controller private $count = 1; public function getProducts() { - return Product::find()->limit(10); + return Product::find()->limit(10)->all(); } public function checkUrl($url){ -- libgit2 0.21.4