/** * If the $intention is null, use the Laravel CSRF token. * * {@inheritdoc} */ public function renderCsrfToken($intention = null) { if (is_null($intention)) { return csrf_token(); } return parent::renderCsrfToken($intention); }