Update dependencies
This commit is contained in:
parent
f238ebf527
commit
e473341f46
|
@ -30,14 +30,14 @@
|
|||
"require": {
|
||||
"php": "^8.0",
|
||||
"guzzlehttp/psr7": "^2.6",
|
||||
"opencultureconsulting/basics": "^1.0",
|
||||
"opencultureconsulting/basics": "^1.1",
|
||||
"psr/http-server-handler": "^1.0",
|
||||
"psr/http-server-middleware": "^1.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpstan/phpstan": "^1.10",
|
||||
"phpstan/phpstan-strict-rules": "^1.5",
|
||||
"friendsofphp/php-cs-fixer": "^3.45"
|
||||
"friendsofphp/php-cs-fixer": "^3.48"
|
||||
},
|
||||
"provide": {
|
||||
"psr/http-server-handler-implementation": "1.0",
|
||||
|
|
|
@ -40,12 +40,12 @@ class MiddlewareQueue extends StrictQueue
|
|||
|
||||
/**
|
||||
* Create a queue of PSR-15 compatible middlewares.
|
||||
* @see \OCC\Basics\DataStructures\StrictQueue::__construct()
|
||||
*
|
||||
* @param iterable<MiddlewareInterface> $middlewares Initial set of PSR-15 middlewares
|
||||
*/
|
||||
private function __construct(iterable $middlewares = [])
|
||||
{
|
||||
parent::__construct($middlewares, [MiddlewareInterface::class]);
|
||||
parent::__construct([MiddlewareInterface::class]);
|
||||
$this->append(...$middlewares);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue