Indicate uid can be null in PageController
parent
aeee6592b0
commit
b8e5ee7f1b
|
@ -13,7 +13,7 @@ use OCP\IUserSession;
|
|||
use OCP\Util;
|
||||
|
||||
class PageController extends Controller {
|
||||
protected string $userId;
|
||||
protected string | null $userId;
|
||||
protected $appName;
|
||||
protected IEventDispatcher $eventDispatcher;
|
||||
private IInitialState $initialState;
|
||||
|
@ -23,7 +23,7 @@ class PageController extends Controller {
|
|||
public function __construct(
|
||||
string $AppName,
|
||||
IRequest $request,
|
||||
string $UserId,
|
||||
string | null $UserId,
|
||||
IEventDispatcher $eventDispatcher,
|
||||
IInitialState $initialState,
|
||||
IUserSession $userSession,
|
||||
|
|
Loading…
Reference in New Issue