Fix missing namespace: Symfony\Component\Debug\Exception\FatalThrowableError : Call to undefined function BeyondCode\LaravelWebSockets\HttpApi\Controllers\Psr\str()

This commit is contained in:
Mattias Geniar 2018-11-28 21:02:14 +01:00
parent 7fdcbe13ef
commit fe492c6d2a
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ abstract class Controller implements HttpServerInterface
'error' => $exception->getMessage()
]));
$connection->send(Psr\str($response));
$connection->send(GuzzleHttp\Psr7\str($response));
$connection->close();
}