Skip to content

Commit 6b600bc

Browse files
committed
Rename override method
1 parent d9828fb commit 6b600bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Controllers/BaseController.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ abstract class BaseController extends BaseRoutingController {
4545
* @internal param array $parameters
4646
*
4747
*/
48-
public function dispatch($request) {
49-
$method_name = $request->method();
48+
public function dispatcher($request) {
49+
$method_name = $request->method();
5050

5151
if (in_array($method_name, $this->httpMethodNames)) {
5252

@@ -67,7 +67,7 @@ public function dispatch($request) {
6767
*/
6868
public function asView(Request $request) {
6969

70-
return $this->dispatch($request);
70+
return $this->dispatcher($request);
7171
}
7272

7373
/**

0 commit comments

Comments
 (0)