Skip to content

Commit

Permalink
update for php 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Nov 25, 2021
1 parent 83be2fa commit 94d4578
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/Handlers/Dig.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ protected function buildCommand(string $domain, string $type): array
'+noall',
'+nomultiline',
'+answer',
'+tries=2',
'+time=2',
$this->prepareNameserver(),
$domain,
$type,
Expand Down
2 changes: 1 addition & 1 deletion src/Support/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function __toString(): string
);
}

public function count()
public function count(): int
{
return count($this->items);
}
Expand Down

0 comments on commit 94d4578

Please sign in to comment.