Skip to content

Commit

Permalink
Change formated to formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
baijunyao committed Apr 9, 2019
1 parent 90e393e commit 2912c3c
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 2912c3c

Please sign in to comment.