File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -18,19 +18,17 @@ class MockRouter extends Router
1818 /**
1919 * Override to store routes with names for testing
2020 */
21- public function get ( string $ Route , $ function , ?string $ Filter = null ): RouteMap
21+ public function get ( string $ route , $ function , ?string $ filter = null ): RouteMap
2222 {
23- $ route = parent ::get ( $ Route , $ function , $ Filter );
24- return $ route ;
23+ return parent ::get ( $ route , $ function , $ filter );
2524 }
2625
2726 /**
2827 * Override to store routes with names for testing
2928 */
30- public function post ( string $ Route , $ function , ?string $ Filter = null ): RouteMap
29+ public function post ( string $ route , $ function , ?string $ filter = null ): RouteMap
3130 {
32- $ route = parent ::post ( $ Route , $ function , $ Filter );
33- return $ route ;
31+ return parent ::post ( $ route , $ function , $ filter );
3432 }
3533
3634 /**
You can’t perform that action at this time.
0 commit comments