mirror of
https://github.com/yiisoft/yii2.git
synced 2025-10-27 20:06:19 +08:00
Add visibility for all class elements (#20557)
This commit is contained in:
@ -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;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user