src/Psalm/Internal/LanguageServer/ClientHandler.php
public function notify(string $method, $params): Promise
    {
        return $this->protocolWriter->write(
            new Message(
                new AdvancedJsonRpc\Notification($method, (object)$params)
            )
        );
    }
public function notify(string $method, $params): Promise
    {
        return $this->protocolWriter->write(
            new Message(
                new AdvancedJsonRpc\Notification($method, (object)$params)
            )
        );
    }
public function notify ( string $ method , $ params ) : Promise { return $ this -> protocolWriter -> write ( new Message ( new AdvancedJsonRpc \ Notification ( $ method , ( object ) $ params ) ) ) ; }
Sends a notification to the client

@param string $method The method to call
@param array|object $params The method parameters
@return Promise <null> Will be resolved as soon as the notification has been sent
Sends a notification to the client