diff options
| author | Sam Light <sam@lightscale.co.uk> | 2026-06-10 19:00:32 +0100 |
|---|---|---|
| committer | Sam Light <sam@lightscale.co.uk> | 2026-06-10 19:00:32 +0100 |
| commit | f5dbb75e6deb9653dfddb862e94323902ca33612 (patch) | |
| tree | 3eba0154cd381b607e014a74f34c3aeba23b7b93 | |
| parent | bbb017512587047ea016e9445bb5693c8c3c8065 (diff) | |
Changed php cs fixer to align phpdocs left
| -rw-r--r-- | .php-cs-fixer.dist.php | 3 | ||||
| -rw-r--r-- | src/AbstractStrategy.php | 2 | ||||
| -rw-r--r-- | 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( |
