summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/classes/CSRF.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/classes/CSRF.php b/app/classes/CSRF.php
index 639f573..9a700cf 100644
--- a/app/classes/CSRF.php
+++ b/app/classes/CSRF.php
@@ -35,7 +35,7 @@ class CSRF
public static function generate($action = null)
{
if (!is_string($action)) {
- throw InvalidArgumentException('A valid action must be defined.');
+ throw new InvalidArgumentException('A valid action must be defined.');
}
return hash_hmac(self::HMAC_ALGORITHM, $action, self::getKey());
}