summaryrefslogtreecommitdiff
path: root/classes/Labels.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/Labels.php')
-rw-r--r--classes/Labels.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Labels.php b/classes/Labels.php
index 026e6621f..01b5d86a9 100644
--- a/classes/Labels.php
+++ b/classes/Labels.php
@@ -197,7 +197,7 @@ class Labels
/**
* @return false|int false if the check for an existing label failed, otherwise the number of rows inserted (1 on success)
*/
- static function create(string $caption, ?string $fg_color = '', ?string $bg_color = '', ?int $owner_uid = null) {
+ static function create(string $caption, ?string $fg_color = '', ?string $bg_color = '', ?int $owner_uid = null): false|int {
if (!$owner_uid) $owner_uid = $_SESSION['uid'];