There was an error while loading. Please reload this page.
1 parent b8704e4 commit 16f240eCopy full SHA for 16f240e
app/code/Magento/Customer/ViewModel/Customer/Auth.php
@@ -27,9 +27,9 @@ public function __construct(
27
/**
28
* Check is user login
29
*
30
- * @return bool
+ * @return bool|null
31
*/
32
- public function isLoggedIn(): bool
+ public function isLoggedIn(): bool|null
33
{
34
return $this->httpContext->getValue(Context::CONTEXT_AUTH);
35
}
0 commit comments