diff --git a/README.md b/README.md index 7308f2c..f49208e 100644 --- a/README.md +++ b/README.md @@ -348,7 +348,7 @@ Flight::before('hello', function(&$params, &$output){ Flight::after('hello', function(&$params, &$output){ // Manipulate the output $output .= " Have a nice day!"; -} +}); // Invoke the custom method echo Flight::hello('Bob'); @@ -743,4 +743,4 @@ $app->route('/', function(){ $app->start(); ``` -So instead of calling the static method, you would call \ No newline at end of file +So instead of calling the static method, you would call