mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Fix various warnings in PHP 8.0
This commit is contained in:
parent
f46b41f437
commit
60465fb2db
23 changed files with 65 additions and 55 deletions
|
|
@ -267,8 +267,8 @@ class Router
|
|||
$matches = array_filter($matches, 'is_string', \ARRAY_FILTER_USE_KEY);
|
||||
$allargs = array_merge($args, $matches, $route_info['extra_vars'] ?? []);
|
||||
$result->module = $allargs['module'] ?? '';
|
||||
$result->mid = $allargs['mid'] ?: '';
|
||||
$result->act = $allargs['act'] ?: '';
|
||||
$result->mid = ($allargs['mid'] ?? '') ?: '';
|
||||
$result->act = ($allargs['act'] ?? '') ?: '';
|
||||
$result->forwarded = false;
|
||||
$result->args = $allargs;
|
||||
return $result;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue