Skip to content

Commit 787f09f

Browse files
committed
fix: drop typed class constants for PHP 8.2 compatibility
1 parent 053d393 commit 787f09f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/dav/lib/CardDAV/Converter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020
use Sabre\VObject\Property\VCard\Date;
2121

2222
class Converter {
23-
private const array NAME_SUFFIXES = [
23+
private const NAME_SUFFIXES = [
2424
'i', 'ii', 'iii', 'iv', 'v',
2525
'senior', 'junior', 'jr', 'sr',
2626
'phd', 'apr', 'rph', 'pe', 'md', 'ma', 'msc', 'bsc', 'ba', 'bs',
2727
'dmd', 'cme', 'bsn', 'mba',
2828
'ceo', 'cto', 'cfo', 'coo',
2929
];
30-
private const array NAME_SALUTATIONS = [
30+
private const NAME_SALUTATIONS = [
3131
'mr', 'mrs', 'ms', 'miss', 'master', 'mister', 'dr', 'rev', 'fr', 'prof',
3232
'herr', 'frau', 'mme', 'mlle', 'me', 'pr',
3333
];

0 commit comments

Comments
 (0)