Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 32c3140

Browse files
committed
Merge pull request laravel#2763 from billmn/master
Fix missing argument on missingMethod
2 parents 4cd8e16 + 52ade3b commit 32c3140

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Illuminate/Routing/Controller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ public function callAction($method, $parameters)
207207
* @param array $parameters
208208
* @return mixed
209209
*/
210-
public function missingMethod($method, $parameters)
210+
public function missingMethod($method, $parameters = array())
211211
{
212212
throw new NotFoundHttpException("Controller method [{$method}] not found.");
213213
}

0 commit comments

Comments
 (0)