@@ -307,7 +307,7 @@ discard block |
||
307 | 307 | * @return int|null |
308 | 308 | * @throws \InvalidArgumentException |
309 | 309 | */ |
310 | - protected function filterPort($port):?int{ |
|
310 | + protected function filterPort($port): ?int{ |
|
311 | 311 | |
312 | 312 | if($port === null){ |
313 | 313 | return null; |
@@ -325,7 +325,7 @@ discard block |
||
325 | 325 | /** |
326 | 326 | * @inheritdoc |
327 | 327 | */ |
328 | - public function getPort():?int{ |
|
328 | + public function getPort(): ?int{ |
|
329 | 329 | return $this->port; |
330 | 330 | } |
331 | 331 |