<commit_before><?php

namespace BinSoul\Net\Mqtt;

/**
 * Represents the connection of a MQTT client.
 */
interface Connection
{
    /**
     * @return int
     */
    public function getProtocol();

    /**
     * @return int
     */
    public function getClientID();

    /**
     * @return bool
     */
    public function isCleanSession();

    /**
     * @return string
     */
    public function getUsername();

    /**
     * @return string<commit_msg>Fix type hint of connection interface<commit_after><?php

namespace BinSoul\Net\Mqtt;

/**
 * Represents the connection of a MQTT client.
 */
interface Connection
{
    /**
     * @return int
     */
    public function getProtocol();

    /**
     * @return string
     */
    public function getClientID();

    /**
     * @return bool
     */
    public function isCleanSession();

    /**
     * @return string
     */
    public function getUsername();

    /**
     * @return string
{'fraction_non_alphanumeric': 0.1285563751317176, 'fraction_numerical': 0.0, 'mean_word_length': 2.0254777070063694, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5652952', 'n_tokens_mistral': 278, 'n_tokens_neox': 271, 'n_words': 72}