Skip to content

Commit 861911a

Browse files
Release v3.1.15 (#6630)
Co-authored-by: limingxinleo <[email protected]> Co-authored-by: guandeng <[email protected]>
1 parent 78a9619 commit 861911a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public function onHandShake($request, $response): void
148148
$class = $psr7Response->getAttribute(CoreMiddleware::HANDLER_NAME);
149149

150150
if (empty($class)) {
151-
$this->logger->warning('WebSocket hande shake failed, because the class does not exists.');
151+
$this->logger->warning('WebSocket handshake failed, because the class does not exists.');
152152
return;
153153
}
154154

tests/ContextTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function testGet()
3838
$this->assertEquals(42, Context::get('a'));
3939
}
4040

41-
public function testDestory()
41+
public function testDestroy()
4242
{
4343
Context::set('a', 42);
4444
Context::destroy('a');

0 commit comments

Comments
 (0)