summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2023-10-06 18:27:55 +0200
committerSimon Rettberg2023-10-06 18:27:55 +0200
commit4d1a8e3972d0ddb9b1c93acddd12d552ab840427 (patch)
tree27c4b43b8a3f106553b90da2a10e5409dac6b6e7
parentUpdate for PHP 8.2 (diff)
downloadbwlp-webadmin-4d1a8e3972d0ddb9b1c93acddd12d552ab840427.tar.gz
bwlp-webadmin-4d1a8e3972d0ddb9b1c93acddd12d552ab840427.tar.xz
bwlp-webadmin-4d1a8e3972d0ddb9b1c93acddd12d552ab840427.zip
Fix wrongly inferred return type
-rw-r--r--inc/image.inc.php2
1 files changed, 1 insertions, 1 deletions
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;