DEV: For > PHP8.1
This commit is contained in:
parent
7431992062
commit
a1f626282e
2 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,7 @@ class DirController extends Controller
|
|||
'category' => $category,
|
||||
'childrens' => $childrens,
|
||||
'user_count_site' => $count_site,
|
||||
'breadcrumb' => static::getBreadcrumb($category['facet_id'], $sort),
|
||||
'breadcrumb' => $this->getBreadcrumb($category['facet_id'], $sort),
|
||||
'characteristics' => WebModel::getTypesWidget($category['facet_id']),
|
||||
'low_matching' => FacetModel::getLowMatching($category['facet_id']),
|
||||
]
|
||||
|
|
|
@ -6,7 +6,7 @@ use App\Models\FacetModel;
|
|||
|
||||
trait Breadcrumb
|
||||
{
|
||||
public static function getBreadcrumb($facet_id, $sort = [], $type = 'category')
|
||||
public function getBreadcrumb($facet_id, $sort = [], $type = 'category')
|
||||
{
|
||||
$facet = FacetModel::breadcrumb($facet_id);
|
||||
|
||||
|
|
Loading…
Reference in a new issue