updated-packages
This commit is contained in:
@@ -25,7 +25,6 @@ class PhoneMetadata
|
||||
protected $nationalPrefix;
|
||||
protected $preferredExtnPrefix;
|
||||
protected $mainCountryForCode = false;
|
||||
protected $leadingZeroPossible = false;
|
||||
protected $mobileNumberPortableRegion = false;
|
||||
protected $generalDesc;
|
||||
/**
|
||||
@@ -118,11 +117,6 @@ class PhoneMetadata
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function hasLeadingZeroPossible()
|
||||
{
|
||||
return $this->leadingZeroPossible !== null;
|
||||
}
|
||||
|
||||
public function hasMobileNumberPortableRegion()
|
||||
{
|
||||
return $this->mobileNumberPortableRegion !== null;
|
||||
@@ -135,7 +129,7 @@ class PhoneMetadata
|
||||
|
||||
public function numberFormatSize()
|
||||
{
|
||||
return count($this->numberFormat);
|
||||
return \count($this->numberFormat);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -149,7 +143,7 @@ class PhoneMetadata
|
||||
|
||||
public function intlNumberFormatSize()
|
||||
{
|
||||
return count($this->intlNumberFormat);
|
||||
return \count($this->intlNumberFormat);
|
||||
}
|
||||
|
||||
public function getIntlNumberFormat($index)
|
||||
@@ -288,10 +282,6 @@ class PhoneMetadata
|
||||
$output['leadingDigits'] = $this->getLeadingDigits();
|
||||
}
|
||||
|
||||
if ($this->hasLeadingZeroPossible()) {
|
||||
$output['leadingZeroPossible'] = $this->isLeadingZeroPossible();
|
||||
}
|
||||
|
||||
if ($this->hasMobileNumberPortableRegion()) {
|
||||
$output['mobileNumberPortableRegion'] = $this->isMobileNumberPortableRegion();
|
||||
}
|
||||
@@ -807,23 +797,6 @@ class PhoneMetadata
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function isLeadingZeroPossible()
|
||||
{
|
||||
return $this->leadingZeroPossible;
|
||||
}
|
||||
|
||||
public function setLeadingZeroPossible($value)
|
||||
{
|
||||
$this->leadingZeroPossible = $value;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function clearLeadingZeroPossible()
|
||||
{
|
||||
$this->leadingZeroPossible = false;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function isMobileNumberPortableRegion()
|
||||
{
|
||||
return $this->mobileNumberPortableRegion;
|
||||
@@ -976,10 +949,6 @@ class PhoneMetadata
|
||||
$this->setLeadingDigits($input['leadingDigits']);
|
||||
}
|
||||
|
||||
if (isset($input['leadingZeroPossible'])) {
|
||||
$this->setLeadingZeroPossible($input['leadingZeroPossible']);
|
||||
}
|
||||
|
||||
if (isset($input['mobileNumberPortableRegion'])) {
|
||||
$this->setMobileNumberPortableRegion($input['mobileNumberPortableRegion']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user