diff --git a/src/Element.php b/src/Element.php index ca74ba8..1feacb7 100644 --- a/src/Element.php +++ b/src/Element.php @@ -249,13 +249,13 @@ public function setNonceValue($nonceValue) } /** - * @param mixed $formated + * @param mixed $formatted * * @return int|string */ - public function getTimestampValue($formated = false) + public function getTimestampValue($formatted = false) { - return ($formated && $this->timestampValue > 0) ? gmdate('Y-m-d\TH:i:s\Z', $this->timestampValue) : $this->timestampValue; + return ($formatted && $this->timestampValue > 0) ? gmdate('Y-m-d\TH:i:s\Z', $this->timestampValue) : $this->timestampValue; } /**