Skip to content

Commit 3cfb51a

Browse files
authored
Update GoogleReCaptchaV3.php
1 parent af961b1 commit 3cfb51a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/GoogleReCaptchaV3.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,16 +100,16 @@ public function renderOne($id, $action)
100100
/**
101101
* @param $id
102102
* @param $action
103-
* @param $class
103+
* @param string $class
104104
* @param string $style
105105
* @return \Illuminate\Contracts\View\View|mixed
106106
*/
107-
public function renderField($id, $action, $class, $style = '')
107+
public function renderField($id, $action, $class = '', $style = '')
108108
{
109109
self::$hasAction = true;
110110
self::$collection[$id] = $action;
111111

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

115115
/**

0 commit comments

Comments
 (0)