about summary refs log tree commit diff stats
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <noreply@fakecake.org>2021-11-12 09:59:57 +0300
committerAndrew Dolgov <noreply@fakecake.org>2021-11-12 09:59:57 +0300
commit0a059d9948c169f6a57b13d8d5039468d3e4de7c (patch)
treedfabcd5af08a6b1aec26e6f2d41babb518455982 /backend.php
parent111895a34211bb58d64797edd17e9b335874c1da (diff)
downloadthe-epube-0a059d9948c169f6a57b13d8d5039468d3e4de7c.tar.gz
the-epube-0a059d9948c169f6a57b13d8d5039468d3e4de7c.tar.xz
WIP: fix most of phpstan level 6 warnings
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/backend.php b/backend.php
index 9678fab..c2dd25e 100644
--- a/backend.php
+++ b/backend.php
@@ -261,7 +261,8 @@
 
 	case "define":
 		if (Config::get(Config::DICT_SERVER)) {
-			function parse_dict_reply($reply) {
+			/** @return array<string> */
+			function parse_dict_reply(string $reply) : array {
 				$tmp = [];
 
 				foreach (explode("\n", $reply) as $line) {