Skip to content
Snippets Groups Projects
Commit cd8acd70 authored by Jared Hancock's avatar Jared Hancock
Browse files

lint: Fix a couple lint reported issues

parent d42c8684
No related branches found
No related tags found
No related merge requests found
...@@ -152,7 +152,7 @@ case 'updated': ...@@ -152,7 +152,7 @@ case 'updated':
// Apply requested pagination // Apply requested pagination
$page=($_GET['p'] && is_numeric($_GET['p']))?$_GET['p']:1; $page=($_GET['p'] && is_numeric($_GET['p']))?$_GET['p']:1;
$pageNav=new Pagenate($tickets->count(), $page, PAGE_LIMIT); $pageNav=new Pagenate($tickets->count(), $page, PAGE_LIMIT);
$pageNav->setUrl('tickets.php', $args); $pageNav->setURL('tickets.php', $args);
$tickets = $pageNav->paginate($tickets); $tickets = $pageNav->paginate($tickets);
TicketForm::ensureDynamicDataView(); TicketForm::ensureDynamicDataView();
......
...@@ -58,7 +58,7 @@ class IntlMigrator extends MigrationTask { ...@@ -58,7 +58,7 @@ class IntlMigrator extends MigrationTask {
$new_format = ''; $new_format = '';
$format = $cfg->get($key); $format = $cfg->get($key);
foreach (str_split($format) as $char) { foreach (str_split($format) as $char) {
$new_format .= @$dateToIntl[$char] ?: $char; $new_format .= @self::$dateToIntl[$char] ?: $char;
} }
$cfg->set($key, $new_format); $cfg->set($key, $new_format);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment