Indicate uid can be null in PageController

pull/37/head
Varun Patil 2022-09-11 02:38:40 -07:00
parent aeee6592b0
commit b8e5ee7f1b
1 changed files with 2 additions and 2 deletions

View File

@ -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,