We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e886c59 commit 6c262d8Copy full SHA for 6c262d8
‎src/User/Attributes.php‎
@@ -17,9 +17,23 @@ class Attributes
17
/** @var string|null */
18
public $password;
19
20
- /** @var string */
+ /**
21
+ * WARNING! This is read only! Overwriting this when updating the user won't do anything!
22
+ * To change the display name use the $nickname variable (beta16+. Nickname extension required).
23
+ *
24
+ * @var string
25
+ * @see $nickname
26
+ */
27
public $displayName;
28
29
30
+ * WARNING! This is write only! To read this attribute use the $displayName property.
31
+ * To change the nickname you must have the nickname extension installed on your Flarum.
32
33
34
35
+ public $nickname;
36
+
37
/** @var string */
38
public $avatarUrl;
39
0 commit comments