Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
paragonie-security committed Feb 6, 2018
1 parent d88349d commit f3c6256
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/AntiCSRF.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ public function deleteToken(array $token): bool
* @param string $lockTo This CSRF token is only valid for this HTTP request endpoint
* @param bool $echo if true, echo instead of returning
* @return string
* @throws \Exception
* @throws \TypeError
*/
public function insertToken(string $lockTo = '', bool $echo = true): string
{
Expand Down Expand Up @@ -511,5 +513,4 @@ protected static function noHTML(string $untrusted): string
{
return \htmlentities($untrusted, ENT_QUOTES, 'UTF-8');
}

}

0 comments on commit f3c6256

Please sign in to comment.