From 6f5dbed5c476bc3a1f2b3c732cac14624f9cf4b7 Mon Sep 17 00:00:00 2001 From: oscarotero Date: Wed, 24 Jan 2018 21:21:18 +0100 Subject: [PATCH] Code style fix --- src/Https.php | 4 ++-- tests/HttpsTest.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Https.php b/src/Https.php index e1adc37..a61a7dd 100644 --- a/src/Https.php +++ b/src/Https.php @@ -3,11 +3,11 @@ namespace Middlewares; -use Psr\Http\Server\MiddlewareInterface; -use Psr\Http\Server\RequestHandlerInterface; 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; class Https implements MiddlewareInterface { diff --git a/tests/HttpsTest.php b/tests/HttpsTest.php index c5cdf6a..b9e80bb 100644 --- a/tests/HttpsTest.php +++ b/tests/HttpsTest.php @@ -103,7 +103,7 @@ public function testCustomMaxAge() { $response = Dispatcher::run( [ - (new Https())->maxAge(10) + (new Https())->maxAge(10), ], Factory::createServerRequest([], 'GET', 'https://domain.com') );