Skip to content

Commit 13e0504

Browse files
committed
Suggested changes
1 parent bef1b35 commit 13e0504

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

fix_packages.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,13 +144,13 @@ private function buildListOptions(): array
144144
'id' => 'log_packages',
145145
'title' => $context['page_title'],
146146
'get_items' => [
147-
'function' => 'FixXP::list_getPacks',
147+
'function' => [$this, 'list_getPacks'],
148148
'params' => [
149149
$this->isInstalling
150150
],
151151
],
152152
'get_count' => [
153-
'function' => 'FixXP::list_getNumPacks',
153+
'function' => [$this, 'list_getNumPacks'],
154154
'params' => [
155155
$this->isInstalling
156156
],
@@ -212,7 +212,7 @@ private function buildListOptions(): array
212212
];
213213
}
214214

215-
public static function list_getPacks(bool $isInstalling): array
215+
public function list_getPacks(int $start, int $items_per_page, string $sort, bool $isInstalling): array
216216
{
217217
global $smcFunc;
218218

@@ -233,7 +233,7 @@ public static function list_getPacks(bool $isInstalling): array
233233
return $installed;
234234
}
235235

236-
public static function list_getNumPacks(bool $isInstalling): int
236+
public function list_getNumPacks(bool $isInstalling): int
237237
{
238238
global $smcFunc;
239239

0 commit comments

Comments
 (0)