From 0f4e94f5aab1ee61019921fbb3d9e9e1b99e9b3b Mon Sep 17 00:00:00 2001 From: blat Date: Sun, 31 Jul 2022 10:42:24 +0200 Subject: [PATCH] fix headers declaration --- src/Plates.php | 2 -- src/PlatesExtension.php | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Plates.php b/src/Plates.php index d8b90f3..2b565e9 100644 --- a/src/Plates.php +++ b/src/Plates.php @@ -4,8 +4,6 @@ use League\Plates\Engine; use Psr\Http\Message\ResponseInterface; -use Psr\Http\Message\ServerRequestInterface; -use Psr\Http\Server\RequestHandlerInterface; class Plates { diff --git a/src/PlatesExtension.php b/src/PlatesExtension.php index 8c0f6f0..0da8f2d 100644 --- a/src/PlatesExtension.php +++ b/src/PlatesExtension.php @@ -4,8 +4,11 @@ use League\Plates\Engine; use League\Plates\Extension\ExtensionInterface; +use Psr\Http\Message\ResponseInterface; +use Psr\Http\Message\ServerRequestInterface; use Psr\Http\Message\UriInterface; use Psr\Http\Server\MiddlewareInterface; +use Psr\Http\Server\RequestHandlerInterface; use Slim\App; class PlatesExtension implements ExtensionInterface, MiddlewareInterface