More params and returns to PHP 7.3+

This commit is contained in:
djmaze 2020-03-16 13:08:53 +01:00
parent 3d246ae842
commit 26c38b3ec9
95 changed files with 1028 additions and 4865 deletions

View file

@ -29,10 +29,6 @@ class SocketCanNotConnectToHostException extends \MailSo\Net\Exceptions\Connecti
private $iSocketCode;
/**
* @param string $sSocketMessage = ''
* @param int $iSocketCode = 0
* @param string $sMessage = ''
* @param int $iCode = 0
* @param \Exception $oPrevious = null
*/
public function __construct($sSocketMessage = '', $iSocketCode = 0, $sMessage = '', $iCode = 0, $oPrevious = null)
@ -43,18 +39,12 @@ class SocketCanNotConnectToHostException extends \MailSo\Net\Exceptions\Connecti
$this->iSocketCode = $iSocketCode;
}
/**
* @return string
*/
public function getSocketMessage()
public function getSocketMessage() : string
{
return $this->sSocketMessage;
}
/**
* @return int
*/
public function getSocketCode()
public function getSocketCode() : int
{
return $this->iSocketCode;
}