From 2912c3cae828b60d76fc50123d446c94e561ede6 Mon Sep 17 00:00:00 2001 From: baijunyao Date: Tue, 9 Apr 2019 15:15:44 +0800 Subject: [PATCH] Change formated to formatted --- src/Element.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } /**