From 5455ef47dd91afb91395f77719d046a74bdb2285 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Wed, 15 Jul 2020 11:04:14 +0300 Subject: [PATCH] Fixed PSR-4 namespace --- README.md | 2 +- src/Middlewares/CheckLastModified.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d330116..0ca1761 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ Next, add middleware in `$middlewareGroups > web` section in `app/Http/Kernel.ph protected $middlewareGroups = [ 'web' => [ - Helldar\LastModified\CheckLastModified::class, + \Helldar\LastModified\Middlewares\CheckLastModified::class, ] ] ``` diff --git a/src/Middlewares/CheckLastModified.php b/src/Middlewares/CheckLastModified.php index 2dbf7a9..e538fa2 100644 --- a/src/Middlewares/CheckLastModified.php +++ b/src/Middlewares/CheckLastModified.php @@ -1,6 +1,6 @@