php 7.4 dev branch

This commit is contained in:
2020-04-03 15:56:04 +02:00
parent 2636719583
commit a8fc52b42a
48 changed files with 456 additions and 530 deletions

View File

@@ -4,11 +4,11 @@ namespace Objects;
class ConnectionData {
private $host;
private $port;
private $login;
private $password;
private $properties;
private string $host;
private int $port;
private string $login;
private string $password;
private array $properties;
public function __construct($host, $port, $login, $password) {
$this->host = $host;
@@ -32,12 +32,11 @@ class ConnectionData {
}
$this->properties[$key] = $val;
return true;
}
public function getHost() { return $this->host; }
public function getPort() { return $this->port; }
public function getLogin() { return $this->login; }
public function getPassword() { return $this->password; }
}
?>
}