mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
type hint fixes
This commit is contained in:
parent
4d09f2a55c
commit
0e69997579
11 changed files with 17 additions and 29 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue