This commit is contained in:
Iain Gillis
2017-12-02 22:08:55 -07:00
committed by Andy Miller
parent 6ae4680fcb
commit 5a19e05931

View File

@@ -81,20 +81,20 @@ class AudioMedium extends Medium
}
/**
* Allows to set the mute attribute
* Allows to set the muted attribute
*
* @param bool $status
* @return $this
*/
public function mute($status = false)
public function muted($status = false)
{
if($status)
{
$this->attributes['mute'] = true;
$this->attributes['muted'] = true;
}
else
{
unset($this->attributes['mute']);
unset($this->attributes['muted']);
}
return $this;
}