Skip to content

Commit a8aa1a3

Browse files
authored
fix typo and ambiguous expression (#2569)
* fix typo and ambiguous expression * fix typo * update questions with zirocte/swagger 3.0.5 version issue
1 parent 190fc63 commit a8aa1a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Client.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ public function request(string $method, string $path, array $options = [])
144144
$dispatched = $psr7Request->getAttribute(Dispatched::class);
145145
$middlewares = $this->middlewares;
146146
if ($dispatched->isFound()) {
147-
$registedMiddlewares = MiddlewareManager::get($this->serverName, $dispatched->handler->route, $psr7Request->getMethod());
148-
$middlewares = array_merge($middlewares, $registedMiddlewares);
147+
$registeredMiddlewares = MiddlewareManager::get($this->serverName, $dispatched->handler->route, $psr7Request->getMethod());
148+
$middlewares = array_merge($middlewares, $registeredMiddlewares);
149149
}
150150

151151
try {

0 commit comments

Comments
 (0)