Make the usage example actually work

This commit is contained in:
William 2025-04-13 17:48:40 +02:00
parent af995aff42
commit 1c55782058

View File

@ -77,7 +77,7 @@ require '/YourPath/Route.php'
```PHP ```PHP
use WilliamAAK\Http\Route; use WilliamAAK\Http\Route;
Route::get('/', fn() => echo 'hello world'); Route::get('/', fn() => print('hello world'));
``` ```
See `Route.php` and read the comments for more information See `Route.php` and read the comments for more information