Skip to content

Commit

Permalink
Typehints update
Browse files Browse the repository at this point in the history
  • Loading branch information
codercms committed Oct 12, 2020
1 parent c5b3403 commit db994d8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"middleware",
"dispatcher"
],
"license": "MIT",
"require": {
"php": ">=7.4",
"psr/http-server-middleware": "^1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/DispatcherFactoryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
interface DispatcherFactoryInterface
{
/**
* @param MiddlewareInterface[]|RequestHandlerInterface[] $middlewares
* @param MiddlewareInterface[]|RequestHandlerInterface[]|string[] $middlewares
*
* @return Dispatcher
*/
Expand Down
2 changes: 1 addition & 1 deletion src/MiddlewarePipeFactoryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
interface MiddlewarePipeFactoryInterface
{
/**
* @param MiddlewareInterface[]|RequestHandlerInterface[]|array<int, MiddlewareInterface|RequestHandlerInterface> $middlewares
* @param MiddlewareInterface[]|RequestHandlerInterface[]|string[] $middlewares
*
* @return MiddlewarePipe
*
Expand Down

0 comments on commit db994d8

Please sign in to comment.