Skip to content

Commit

Permalink
Release v3.1.15 (#6630)
Browse files Browse the repository at this point in the history

Co-authored-by: limingxinleo <limingxinleo@users.noreply.github.com>
Co-authored-by: guandeng <guandeng@Hotmail.com>
  • Loading branch information
3 people authored Mar 28, 2024
1 parent 78a9619 commit 861911a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public function onHandShake($request, $response): void
$class = $psr7Response->getAttribute(CoreMiddleware::HANDLER_NAME);

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

Expand Down
2 changes: 1 addition & 1 deletion tests/ContextTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function testGet()
$this->assertEquals(42, Context::get('a'));
}

public function testDestory()
public function testDestroy()
{
Context::set('a', 42);
Context::destroy('a');
Expand Down

0 comments on commit 861911a

Please sign in to comment.