Skip to content

Commit af75fdb

Browse files
committed
simple update
1 parent a70394d commit af75fdb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

example/app.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function setRouter(RouterInterface $router)
7979
* add routes
8080
*/
8181
$router->get('/', function () {
82-
echo 'hello, world';
82+
echo '(hello, world)';
8383
});
8484

8585
$router->get('/hello/{name}', function ($args) {

src/MiddlewareStackAwareTrait.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ public function callStack(ServerRequestInterface $request)
9898

9999
/**
100100
* 不要在外部直接调用,内部调用的
101+
* @internal
101102
* {@inheritDoc}
102103
*/
103104
public function handle(ServerRequestInterface $request): ResponseInterface
@@ -181,4 +182,4 @@ public function getCallableResolver(): CallableResolverInterface
181182
{
182183
return $this->callableResolver;
183184
}
184-
}
185+
}

0 commit comments

Comments
 (0)