diff --git a/src/MiddlewareQueue.php b/src/MiddlewareQueue.php index efdbf74..bc3e59a 100644 --- a/src/MiddlewareQueue.php +++ b/src/MiddlewareQueue.php @@ -44,7 +44,7 @@ class MiddlewareQueue extends StrictQueue * * @param iterable $middlewares Initial set of PSR-15 middlewares */ - public function __construct(iterable $middlewares = []) + private function __construct(iterable $middlewares = []) { parent::__construct($middlewares, [MiddlewareInterface::class]); }