File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -81,9 +81,9 @@ public function generateForm(): string
81
81
XLog::debug (__METHOD__ );
82
82
83
83
if ($ this ->with_token ) {
84
- return $ this ->generateFormWithToken ();
84
+ return $ this ->generateFormWithToken ()-> __toString () ;
85
85
} else {
86
- return $ this ->generateFormWithoutToken (); // default
86
+ return $ this ->generateFormWithoutToken ()-> __toString () ; // default
87
87
}
88
88
}
89
89
@@ -96,7 +96,7 @@ public function formParams(): array
96
96
}
97
97
}
98
98
99
- protected function generateFormWithoutToken (): string
99
+ protected function generateFormWithoutToken (): \ Illuminate \ View \ View
100
100
{
101
101
XLog::debug (__METHOD__ , $ this ->getParameters ());
102
102
@@ -115,7 +115,7 @@ protected function generateFormWithoutToken(): string
115
115
'redirectUrl ' => $ this ->redirect_url ,
116
116
'submitLabel ' => !empty ($ this ->submit_label ) ? $ this ->submit_label : trans ("larapay::larapay.goto_gate " ),
117
117
'autoSubmit ' => boolval ($ this ->auto_submit ),
118
- ])-> __toString () ;
118
+ ]);
119
119
}
120
120
121
121
protected function formParamsWithoutToken (): array
@@ -138,7 +138,7 @@ protected function formParamsWithoutToken(): array
138
138
];
139
139
}
140
140
141
- protected function generateFormWithToken (): string
141
+ protected function generateFormWithToken (): \ Illuminate \ View \ View
142
142
{
143
143
XLog::debug (__METHOD__ , $ this ->getParameters ());
144
144
$ this ->checkRequiredParameters ([
You can’t perform that action at this time.
0 commit comments