Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit 0da29ee

Browse files
committed
wip
1 parent d9a831b commit 0da29ee

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/Statistics/DnsResolver.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
<?php
22

3-
43
namespace BeyondCode\LaravelWebSockets\Statistics;
54

65
use React\Dns\Resolver\Resolver;
76
use React\Promise\FulfilledPromise;
87

98
class DnsResolver extends Resolver
109
{
10+
public function __construct()
11+
{
12+
//
13+
}
14+
1115
public function resolve($domain)
1216
{
1317
return new FulfilledPromise('127.0.0.1');

tests/HttpApi/FetchUsersTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public function it_returns_connected_user_information()
131131

132132
$controller->onOpen($connection, $request);
133133

134-
/** @var JsonResponse $response */
134+
/** @var \Illuminate\Http\JsonResponse $response */
135135
$response = array_pop($connection->sentRawData);
136136

137137
$this->assertSame([
@@ -143,4 +143,6 @@ public function it_returns_connected_user_information()
143143
], json_decode($response->getContent(), true));
144144
}
145145

146+
pu
147+
146148
}

0 commit comments

Comments
 (0)