Fix visibility of singleton constructor
This commit is contained in:
parent
35baf93e38
commit
869e078dfd
|
@ -44,7 +44,7 @@ class MiddlewareQueue extends StrictQueue
|
|||
*
|
||||
* @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]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue