From f3c6256178a9f3d10ad6e3ae2fb7128a8b750a92 Mon Sep 17 00:00:00 2001 From: Paragon Initiative Enterprises Date: Tue, 6 Feb 2018 12:44:10 -0500 Subject: [PATCH] Cleanup. --- src/AntiCSRF.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/AntiCSRF.php b/src/AntiCSRF.php index f06c9bc..a487c7c 100644 --- a/src/AntiCSRF.php +++ b/src/AntiCSRF.php @@ -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 { @@ -511,5 +513,4 @@ protected static function noHTML(string $untrusted): string { return \htmlentities($untrusted, ENT_QUOTES, 'UTF-8'); } - }