1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-15 02:47:02 +01:00
psalm/src/Psalm/Internal/LanguageServer/ProtocolWriter.php
Matthew Brown da42be175f Apply PHPCS fixes
Fixes #1880
2019-07-05 16:27:53 -04:00

18 lines
363 B
PHP

<?php
declare(strict_types = 1);
namespace Psalm\Internal\LanguageServer;
use Amp\Promise;
interface ProtocolWriter
{
/**
* Sends a Message to the client
*
* @param Message $msg
*
* @return Promise Resolved when the message has been fully written out to the output stream
*/
public function write(Message $msg): Promise;
}