phpstan
This commit is contained in:
@@ -471,7 +471,8 @@ class Form
|
||||
public function getToken()
|
||||
{
|
||||
if ($this->csrfToken === "") {
|
||||
$this->createToken();
|
||||
$csrf = new Csrf();
|
||||
$this->csrfToken = $csrf->newToken();
|
||||
}
|
||||
return $this->csrfToken;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user