diff options
| author | wn_ <invalid@email.com> | 2024-11-23 17:43:24 +0000 |
|---|---|---|
| committer | wn_ <invalid@email.com> | 2024-11-23 17:43:24 +0000 |
| commit | abcd0e8ba205aac8bd9006e99d783afc999af0af (patch) | |
| tree | 8635fcd5b239f18db5ff831c7ef21a290a8ac6d8 /classes/Labels.php | |
| parent | d4636716fb6e1879098823c2f037db5d8d3f24a0 (diff) | |
Use native union types in most places.
Diffstat (limited to 'classes/Labels.php')
| -rw-r--r-- | classes/Labels.php | 2 |
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']; |