Set default value for privacy parameter in settingsAddInformationField method
This commit is contained in:
parent
c70205f2ac
commit
6a1aa6b353
1 changed files with 1 additions and 1 deletions
|
@ -938,7 +938,7 @@
|
||||||
* @return bool Returns True if the field was added
|
* @return bool Returns True if the field was added
|
||||||
* @throws RpcException Thrown if there was an error with the RPC request
|
* @throws RpcException Thrown if there was an error with the RPC request
|
||||||
*/
|
*/
|
||||||
public function settingsAddInformationField(InformationFieldName|string $field, string $value, null|PrivacyState|string $privacy): bool
|
public function settingsAddInformationField(InformationFieldName|string $field, string $value, null|PrivacyState|string $privacy=null): bool
|
||||||
{
|
{
|
||||||
if($field instanceof InformationFieldName)
|
if($field instanceof InformationFieldName)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue