type hint fixes

This commit is contained in:
Robin Appelman 2021-03-02 19:17:37 +01:00
commit 0e69997579
11 changed files with 17 additions and 29 deletions

View file

@ -95,10 +95,10 @@ class Connection extends RawConnection {
/**
* Check
*
* @param $line
* @param string $line
* @return bool
*/
private function isPrompt($line) {
private function isPrompt(string $line) {
return mb_substr($line, 0, self::DELIMITER_LENGTH) === self::DELIMITER || $line === false;
}