about summary refs log tree commit diff stats
path: root/classes
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2026-06-21 14:40:45 +0300
committerAndrew Dolgov <fox@fakecake.org>2026-06-21 14:40:45 +0300
commit064a21f5b8f365629cc8cfd1fae7220a959750f1 (patch)
tree856803eaa8627ace96601959d2d452a2b274ac66 /classes
parent69c16fafa9671c99cf5c39e7227e2d5f39428374 (diff)
downloadthe-epube-064a21f5b8f365629cc8cfd1fae7220a959750f1.tar.gz
the-epube-064a21f5b8f365629cc8cfd1fae7220a959750f1.tar.xz
phpstan unhappy
Diffstat (limited to 'classes')
-rw-r--r--classes/Handler/LoginHandler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Handler/LoginHandler.php b/classes/Handler/LoginHandler.php
index aff9d80..ab3a099 100644
--- a/classes/Handler/LoginHandler.php
+++ b/classes/Handler/LoginHandler.php
@@ -45,7 +45,7 @@ class LoginHandler implements RequestHandlerInterface
     }
 
     /** @return array{array{result: string, user: string, csrf_token: string}|null, int} */
-    private function doLocalLogin(string $username, string $password): ?array
+    private function doLocalLogin(string $username, string $password): array
     {
         $user = ORM::for_table('epube_users')
             ->where('username', $username)