From 2912c3cae828b60d76fc50123d446c94e561ede6 Mon Sep 17 00:00:00 2001 From: baijunyao Date: Tue, 9 Apr 2019 15:15:44 +0800 Subject: [PATCH 1/3] 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; } /** From d014fc24ed3253e4b173b360830cd28914343079 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20DELSOL?= Date: Tue, 9 Apr 2019 10:39:28 +0200 Subject: [PATCH 2/3] add contributor --- composer.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/composer.json b/composer.json index ca3b875..194bd6b 100644 --- a/composer.json +++ b/composer.json @@ -24,6 +24,11 @@ { "name": "NtlBldrv", "role": "Contributor" + }, + { + "name": "baijunyao", + "email": "baijunyao@baijunyao.com", + "role": "Contributor" } ], "support" : { From d14fc98248d17fa32e6761978a571d700eedaf45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20DELSOL?= Date: Tue, 9 Apr 2019 10:40:26 +0200 Subject: [PATCH 3/3] update changelog --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e96766..939ee90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # CHANGELOG +## 1.2.2 +- Merged PR #9 + ## 1.2.1 - Fixed issue #7