Fix visibility of singleton constructor

This commit is contained in:
Sebastian Meyer 2023-12-17 09:29:28 +01:00
parent 35baf93e38
commit 869e078dfd
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class MiddlewareQueue extends StrictQueue
* *
* @param iterable<MiddlewareInterface> $middlewares Initial set of PSR-15 middlewares * @param iterable<MiddlewareInterface> $middlewares Initial set of PSR-15 middlewares
*/ */
public function __construct(iterable $middlewares = []) private function __construct(iterable $middlewares = [])
{ {
parent::__construct($middlewares, [MiddlewareInterface::class]); parent::__construct($middlewares, [MiddlewareInterface::class]);
} }