diff options
| author | winter | 2024-12-08 23:18:35 +0000 |
|---|---|---|
| committer | winter | 2024-12-08 23:18:35 +0000 |
| commit | bda28640d6e066ae338c6f31407df274ed09f026 (patch) | |
| tree | 2a887dd4f98f79fc11efefc9585c58e144f66a00 /WpfTest/Model/NotePrivacyScope.php | |
| parent | b00185ddbac9ac3de975a3954f2ede2f24458f6a (diff) | |
implement remote object fetching!
this is most of the tricky parts of inbound federation :3
Diffstat (limited to 'WpfTest/Model/NotePrivacyScope.php')
| -rw-r--r-- | WpfTest/Model/NotePrivacyScope.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/WpfTest/Model/NotePrivacyScope.php b/WpfTest/Model/NotePrivacyScope.php index 3134c26..44c9344 100644 --- a/WpfTest/Model/NotePrivacyScope.php +++ b/WpfTest/Model/NotePrivacyScope.php @@ -1,9 +1,9 @@ <?php namespace WpfTest\Model; -enum NotePrivacyScope { - case public; - case followers; - case mutuals; - case none; +enum NotePrivacyScope: string { + case PUBLIC = 'public'; + case FOLLOWERS = 'followers'; + case MUTUALS = 'mutuals'; + case NONE = 'none'; }
\ No newline at end of file |
