Skip to content

Commit 6af1fe1

Browse files
authored
Merge pull request #4 from sarfraznawaz2005/master
Correct Middleware Class Path in Docs
2 parents 8916481 + 3f32b12 commit 6af1fe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ composer require beyondcode/laravel-server-timing
1717

1818
## Usage
1919

20-
To add server-timing header information, you need to add the `BeyondCode\ServerTiming\Middleware\ServerTimingMiddleware` middleware to your HTTP Kernel.
20+
To add server-timing header information, you need to add the `\BeyondCode\ServerTiming\Middleware\ServerTimingMiddleware::class,` middleware to your HTTP Kernel.
2121
In order to get the most accurate results, put the middleware as the first one to load in the middleware stack.
2222

2323
By default, the middleware measures only three things, to keep it as light-weight as possible:

0 commit comments

Comments
 (0)