mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
msgraph: add metadata to users to connect with default calendar
This commit is contained in:
@@ -350,15 +350,20 @@ class User implements AdvancedUserInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* Set attributes.
|
||||
* Merge the attributes with existing attributes.
|
||||
*
|
||||
* @param array $attributes
|
||||
*
|
||||
* @return Report
|
||||
* Only the key provided will be created or updated.
|
||||
*/
|
||||
public function setAttributes($attributes)
|
||||
public function setAttributes(array $attributes): self
|
||||
{
|
||||
$this->attributes = $attributes;
|
||||
$this->attributes = array_merge($this->attributes, $attributes);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function unsetAttribute($key): self
|
||||
{
|
||||
unset($this->attributes[$key]);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user