Upgrade to 4.6.0
This commit is contained in:
@@ -142,7 +142,7 @@ class Find
|
||||
* @param string|null $id User's id
|
||||
* @throws \Kirby\Exception\NotFoundException if the user for the given id cannot be found
|
||||
*/
|
||||
public static function user(string $id = null): User|null
|
||||
public static function user(string|null $id = null): User|null
|
||||
{
|
||||
// account is a reserved word to find the current
|
||||
// user. It's used in various API and area routes.
|
||||
|
||||
Reference in New Issue
Block a user