diff options
| -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( |
