From 4d1a8e3972d0ddb9b1c93acddd12d552ab840427 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 6 Oct 2023 18:27:55 +0200 Subject: Fix wrongly inferred return type --- inc/image.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/image.inc.php b/inc/image.inc.php index 1ce95da..03af811 100644 --- a/inc/image.inc.php +++ b/inc/image.inc.php @@ -3,7 +3,7 @@ class Image { - public static function deleteOwnedBy(string $userid): false + public static function deleteOwnedBy(string $userid): bool { if ($userid === false || !is_numeric($userid)) return false; -- cgit v1.2.3-55-g7522