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
8181 XLog::debug (__METHOD__ );
8282
8383 if ($ this ->with_token ) {
84- return $ this ->generateFormWithToken ();
84+ return $ this ->generateFormWithToken ()-> __toString () ;
8585 } else {
86- return $ this ->generateFormWithoutToken (); // default
86+ return $ this ->generateFormWithoutToken ()-> __toString () ; // default
8787 }
8888 }
8989
@@ -96,7 +96,7 @@ public function formParams(): array
9696 }
9797 }
9898
99- protected function generateFormWithoutToken (): string
99+ protected function generateFormWithoutToken (): \ Illuminate \ View \ View
100100 {
101101 XLog::debug (__METHOD__ , $ this ->getParameters ());
102102
@@ -115,7 +115,7 @@ protected function generateFormWithoutToken(): string
115115 'redirectUrl ' => $ this ->redirect_url ,
116116 'submitLabel ' => !empty ($ this ->submit_label ) ? $ this ->submit_label : trans ("larapay::larapay.goto_gate " ),
117117 'autoSubmit ' => boolval ($ this ->auto_submit ),
118- ])-> __toString () ;
118+ ]);
119119 }
120120
121121 protected function formParamsWithoutToken (): array
@@ -138,7 +138,7 @@ protected function formParamsWithoutToken(): array
138138 ];
139139 }
140140
141- protected function generateFormWithToken (): string
141+ protected function generateFormWithToken (): \ Illuminate \ View \ View
142142 {
143143 XLog::debug (__METHOD__ , $ this ->getParameters ());
144144 $ this ->checkRequiredParameters ([
You can’t perform that action at this time.
0 commit comments