addressing comments
This commit is contained in:
parent
a3a9def48d
commit
f64c82a8cb
|
@ -307,8 +307,8 @@ App::shutdown()
|
||||||
throw new Exception('Too less or too many parts', 400, Exception::GENERAL_ARGUMENT_INVALID);
|
throw new Exception('Too less or too many parts', 400, Exception::GENERAL_ARGUMENT_INVALID);
|
||||||
}
|
}
|
||||||
|
|
||||||
$namespace = $parts[0];
|
$namespace = $parts[0] ?? '';
|
||||||
$replace = $parts[1];
|
$replace = $parts[1] ?? '';
|
||||||
|
|
||||||
$params = match ($namespace) {
|
$params = match ($namespace) {
|
||||||
'user' => (array)$user,
|
'user' => (array)$user,
|
||||||
|
|
Loading…
Reference in a new issue