1
0
Fork 0
mirror of synced 2024-07-03 13:41:01 +12:00

addressing comments

This commit is contained in:
shimon 2022-08-15 17:03:03 +03:00
parent a3a9def48d
commit f64c82a8cb

View file

@ -307,8 +307,8 @@ App::shutdown()
throw new Exception('Too less or too many parts', 400, Exception::GENERAL_ARGUMENT_INVALID);
}
$namespace = $parts[0];
$replace = $parts[1];
$namespace = $parts[0] ?? '';
$replace = $parts[1] ?? '';
$params = match ($namespace) {
'user' => (array)$user,