We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8db35cf + e1b5db5 commit 12cdce7Copy full SHA for 12cdce7
src/Nmap/Service.php
@@ -19,7 +19,7 @@ class Service
19
20
private ?string $version;
21
22
- public function __construct(string $name = null, string $product = null, string $version = null)
+ public function __construct(?string $name = null, ?string $product = null, ?string $version = null)
23
{
24
$this->name = $name;
25
$this->product = $product;
0 commit comments