mirror of
https://github.com/opencultureconsulting/psr-15.git
synced 2025-03-09 00:00:31 +01:00
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…
x
Reference in New Issue
Block a user