Skip to content

Commit

Permalink
JobUtils: Fix wrong method return type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
yhabteab committed Aug 21, 2023
1 parent 9b5b8e1 commit a204106
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/X509/Common/JobUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ public static function addrToNumber(string $addr): ?GMP
* @param $num
* @param bool $ipv6
*
* @return ?string
* @return false|string
*/
public static function numberToAddr($num, bool $ipv6 = true): ?string
public static function numberToAddr($num, bool $ipv6 = true)
{
if ($ipv6) {
return inet_ntop(str_pad(gmp_export($num), 16, "\0", STR_PAD_LEFT));
Expand Down

0 comments on commit a204106

Please sign in to comment.