Skip to content

Commit c20b58f

Browse files
authored
Merge pull request #30 from RyanDaDeng/analysis-XWMLkJ
Apply fixes from StyleCI
2 parents 8368c67 + 98a13ac commit c20b58f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/GoogleReCaptchaV3.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function prepareBackgroundViewData()
7676
*/
7777
public function init()
7878
{
79-
if (!$this->getConfig()->isServiceEnabled()) {
79+
if (! $this->getConfig()->isServiceEnabled()) {
8080
return;
8181
}
8282
$default = [
@@ -97,22 +97,21 @@ public function renderOne($id, $action)
9797
self::$collection[$id] = $action;
9898
}
9999

100-
101100
/**
102101
* @param $id
103102
* @param $action
104103
* @param $class
105104
* @param string $style
106105
* @return \Illuminate\Contracts\View\View|mixed
107106
*/
108-
public function renderField($id, $action, $class,$style = '')
107+
public function renderField($id, $action, $class, $style = '')
109108
{
110109
self::$hasAction = true;
111110
self::$collection[$id] = $action;
111+
112112
return app('view')->make($this->getFieldView(), ['id' => $id, 'class'=>$class, 'style' => $style]);
113113
}
114114

115-
116115
/**
117116
* @param $mappers
118117
*/
@@ -132,7 +131,6 @@ protected function getView()
132131
return $this->defaultTemplate;
133132
}
134133

135-
136134
/**
137135
* @return mixed|string
138136
*/

0 commit comments

Comments
 (0)