fix devops error
This commit is contained in:
@@ -127,9 +127,8 @@ class Offers
|
||||
$tags = Categories::getTagsByCategory($category);
|
||||
$offers1 = self::getByCategory($category_id)->toArray();
|
||||
$offers2 = self::getByTags($tags)->toArray();
|
||||
$data = array_merge($offers1, $offers2);
|
||||
|
||||
return $data;
|
||||
return array_merge($offers1, $offers2);
|
||||
}
|
||||
|
||||
public static function getByCategory($category_id)
|
||||
|
||||
Reference in New Issue
Block a user