mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-16 15:05:56 +00:00
Add PHP8 compatibility to v1.x (#177)
* Add PHP8 compatible requirements * Readd DNS to allow resolving local shared domains
This commit is contained in:
@@ -135,7 +135,7 @@ class TunnelTest extends TestCase
|
||||
|
||||
protected function createTestHttpServer()
|
||||
{
|
||||
$server = new Server(function (ServerRequestInterface $request) {
|
||||
$server = new Server($this->loop, function (ServerRequestInterface $request) {
|
||||
return new Response(200, ['Content-Type' => 'text/plain'], 'Hello World!');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user