Skip to content

Commit

Permalink
Update src/IpHelper.php
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
  • Loading branch information
vjik and samdark authored Aug 6, 2024
1 parent 21ca678 commit cfbd49e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IpHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ final class IpHelper
* @param string $ip The valid IPv4 or IPv6 address.
* @param bool $validate Enable perform IP address validation. False is best practice if the data comes from a trusted source.
*
* @return int Value of {@see IPV4} or {@see IPV6} constants.
* @return int Value of either {@see IPV4} or {@see IPV6} constant.
*/
public static function getIpVersion(string $ip, bool $validate = true): int
{
Expand Down

0 comments on commit cfbd49e

Please sign in to comment.