From 5a19e05931ff4eb93581e27021dfbccb7b1b5aa2 Mon Sep 17 00:00:00 2001 From: Iain Gillis Date: Sat, 2 Dec 2017 22:08:55 -0700 Subject: [PATCH] Fix typo (#1770) --- system/src/Grav/Common/Page/Medium/AudioMedium.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/system/src/Grav/Common/Page/Medium/AudioMedium.php b/system/src/Grav/Common/Page/Medium/AudioMedium.php index cc39d3e1a..1a2821d8e 100644 --- a/system/src/Grav/Common/Page/Medium/AudioMedium.php +++ b/system/src/Grav/Common/Page/Medium/AudioMedium.php @@ -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; }