Add visibility for all class elements (#20557)

This commit is contained in:
Maksim Spirkov
2025-10-02 02:27:23 +04:00
committed by GitHub
parent 813dfc07cc
commit c82da8dc82
73 changed files with 328 additions and 331 deletions

View File

@ -19,16 +19,16 @@ use yii\base\NotSupportedException;
*/
class BaseIpHelper
{
const IPV4 = 4;
const IPV6 = 6;
public const IPV4 = 4;
public const IPV6 = 6;
/**
* The length of IPv6 address in bits
*/
const IPV6_ADDRESS_LENGTH = 128;
public const IPV6_ADDRESS_LENGTH = 128;
/**
* The length of IPv4 address in bits
*/
const IPV4_ADDRESS_LENGTH = 32;
public const IPV4_ADDRESS_LENGTH = 32;
/**