diff options
author | Simon Rettberg | 2023-10-06 18:27:55 +0200 |
---|---|---|
committer | Simon Rettberg | 2023-10-06 18:27:55 +0200 |
commit | 4d1a8e3972d0ddb9b1c93acddd12d552ab840427 (patch) | |
tree | 27c4b43b8a3f106553b90da2a10e5409dac6b6e7 /inc | |
parent | Update for PHP 8.2 (diff) | |
download | bwlp-webadmin-4d1a8e3972d0ddb9b1c93acddd12d552ab840427.tar.gz bwlp-webadmin-4d1a8e3972d0ddb9b1c93acddd12d552ab840427.tar.xz bwlp-webadmin-4d1a8e3972d0ddb9b1c93acddd12d552ab840427.zip |
Fix wrongly inferred return type
Diffstat (limited to 'inc')
-rw-r--r-- | inc/image.inc.php | 2 |
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; |