dbms_primeidc_init...1
This commit is contained in:
parent
cb97b79e84
commit
65fa05cb4f
@ -66,7 +66,7 @@ abstract class CommonHelper extends Core
|
|||||||
return preg_match($pattern_validation, $domain);
|
return preg_match($pattern_validation, $domain);
|
||||||
}
|
}
|
||||||
|
|
||||||
final public function isIPAddress(string $ip, $type = 'ipv4'): bool
|
final public function isIPAddress(?string $ip = null, $type = 'ipv4'): bool
|
||||||
{
|
{
|
||||||
switch ($type) {
|
switch ($type) {
|
||||||
case 'ipv4':
|
case 'ipv4':
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user