Release 2.45 (#5721)
Co-authored-by: Henning Klein <info@henningklein.de>
This commit is contained in:
@@ -29,6 +29,8 @@ class ThemeEvent extends Event
|
||||
private string $content = '';
|
||||
|
||||
/**
|
||||
* User is nullable, because theme events are triggered on anonymous pages, like "Login" or "Kiosk"
|
||||
*
|
||||
* @param array<string, mixed|array<mixed>> $payload
|
||||
*/
|
||||
public function __construct(private readonly ?User $user = null, protected array $payload = [])
|
||||
|
||||
Reference in New Issue
Block a user