From f5dbb75e6deb9653dfddb862e94323902ca33612 Mon Sep 17 00:00:00 2001 From: Sam Light Date: Wed, 10 Jun 2026 19:00:32 +0100 Subject: Changed php cs fixer to align phpdocs left --- .php-cs-fixer.dist.php | 3 +++ src/AbstractStrategy.php | 2 +- src/Contracts/Strategy.php | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 33d4a09..f8879a8 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -15,6 +15,9 @@ return (new Config()) 'import_constants' => false, 'import_functions' => false, ], + 'phpdoc_align' => [ + 'align' => 'left', + ] ]) // 💡 by default, Fixer looks for `*.php` files excluding `./vendor/` - here, you can groom this config ->setFinder( diff --git a/src/AbstractStrategy.php b/src/AbstractStrategy.php index 54b78c1..29d9651 100644 --- a/src/AbstractStrategy.php +++ b/src/AbstractStrategy.php @@ -13,7 +13,7 @@ use Psr\Http\Message\ServerRequestInterface; abstract class AbstractStrategy implements Strategy { /** - * @param Middleware[] $middlewares + * @param Middleware[] $middlewares * @param callable(RequestInterface): ResponseInterface $handler */ public function runMiddleware( diff --git a/src/Contracts/Strategy.php b/src/Contracts/Strategy.php index fa41819..7dea459 100644 --- a/src/Contracts/Strategy.php +++ b/src/Contracts/Strategy.php @@ -11,7 +11,7 @@ use Psr\Http\Message\ResponseInterface; interface Strategy { /** - * @param Middleware[] $middlewares + * @param Middleware[] $middlewares * @param callable(RequestInterface): ResponseInterface $handler */ public function runMiddleware( -- cgit v1.2.3