Skip to content

Commit

Permalink
Update GoogleReCaptchaV3.php
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanDaDeng committed Mar 29, 2019
1 parent af961b1 commit 3cfb51a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/GoogleReCaptchaV3.php
Expand Up @@ -100,16 +100,16 @@ public function renderOne($id, $action)
/**
* @param $id
* @param $action
* @param $class
* @param string $class
* @param string $style
* @return \Illuminate\Contracts\View\View|mixed
*/
public function renderField($id, $action, $class, $style = '')
public function renderField($id, $action, $class = '', $style = '')
{
self::$hasAction = true;
self::$collection[$id] = $action;

return app('view')->make($this->getFieldView(), ['id' => $id, 'class'=>$class, 'style' => $style]);
return app('view')->make($this->getFieldView(), ['id' => $id, 'class'=> $class, 'style' => $style]);
}

/**
Expand Down

0 comments on commit 3cfb51a

Please sign in to comment.