You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Host/Host.php
+5-22Lines changed: 5 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -21,10 +21,7 @@
21
21
22
22
class Host
23
23
{
24
-
/**
25
-
* @var Configuration $config
26
-
*/
27
-
private$config;
24
+
privateConfiguration$config;
28
25
29
26
publicfunction__construct(string$hostname)
30
27
{
@@ -44,10 +41,7 @@ public function config(): Configuration
44
41
return$this->config;
45
42
}
46
43
47
-
/**
48
-
* @param mixed $value
49
-
*/
50
-
publicfunctionset(string$name, $value): self
44
+
publicfunctionset(string$name, mixed$value): self
51
45
{
52
46
if ($name === 'alias') {
53
47
thrownewConfigurationException("Can not update alias of the host.\nThis will change only host own alias,\nbut not the key it is stored in HostCollection.");
@@ -75,11 +69,7 @@ public function hasOwn(string $name): bool
0 commit comments