Skip to content

Commit

Permalink
Merge pull request #9 from baijunyao/develop
Browse files Browse the repository at this point in the history
Change formated to formatted
  • Loading branch information
mikaelcom committed Apr 9, 2019
2 parents 90e393e + 2912c3c commit 11501ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Element.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit 11501ce

Please sign in to comment.