We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6d51717 + 7ececdc commit d07a14bCopy full SHA for d07a14b
1 file changed
Classes/Domain/Model/Client/ClientConfiguration.php
@@ -79,12 +79,12 @@ public function getPort(): int
79
}
80
81
/**
82
- * @param int $port
+ * @param mixed $port Cast to int internally
83
* @return void
84
*/
85
- public function setPort(int $port): void
+ public function setPort($port): void
86
{
87
- $this->port = $port;
+ $this->port = (int)$port;
88
89
90
0 commit comments