Skip to content

fix: typo in pager default_simple #8407

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: typo in pager default_simple
  • Loading branch information
jasonliang-dev committed Jan 7, 2024
commit 495fb0c83a6acabed5db4bea8dd0e7deb84e1602
5 changes: 0 additions & 5 deletions phpstan-baseline.php
Original file line number Diff line number Diff line change
Expand Up @@ -2491,11 +2491,6 @@
'count' => 1,
'path' => __DIR__ . '/system/Pager/Pager.php',
];
$ignoreErrors[] = [
'message' => '#^Call to method CodeIgniter\\\\Pager\\\\PagerRenderer\\:\\:getNext\\(\\) with incorrect case\\: getnext$#',
'count' => 1,
'path' => __DIR__ . '/system/Pager/Views/default_simple.php',
];
$ignoreErrors[] = [
'message' => '#^Argument \\#1 \\$name \\(class\\-string\\) passed to function model does not extend CodeIgniter\\\\\\\\Model\\.$#',
'count' => 1,
Expand Down
2 changes: 1 addition & 1 deletion system/Pager/Views/default_simple.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</a>
</li>
<li <?= $pager->hasNext() ? '' : 'class="disabled"' ?>>
<a href="<?= $pager->getnext() ?? '#' ?>" aria-label="<?= lang('Pager.next') ?>">
<a href="<?= $pager->getNext() ?? '#' ?>" aria-label="<?= lang('Pager.next') ?>">
<span aria-hidden="true"><?= lang('Pager.older') ?></span>
</a>
</li>
Expand Down