Fix typo
"your platform can't handling..." => "your platform can't handle"
This commit is contained in:
parent
e92ae5199d
commit
cf7e4b027a
|
@ -233,7 +233,7 @@ class FlatbufferBuilder
|
||||||
public function putUint($x)
|
public function putUint($x)
|
||||||
{
|
{
|
||||||
if ($x > PHP_INT_MAX) {
|
if ($x > PHP_INT_MAX) {
|
||||||
throw new \InvalidArgumentException("your platform can't handling uint correctly. use 64bit machine.");
|
throw new \InvalidArgumentException("your platform can't handle uint correctly. use 64bit machine.");
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->bb->putUint($this->space -= 4, $x);
|
$this->bb->putUint($this->space -= 4, $x);
|
||||||
|
@ -245,7 +245,7 @@ class FlatbufferBuilder
|
||||||
public function putLong($x)
|
public function putLong($x)
|
||||||
{
|
{
|
||||||
if ($x > PHP_INT_MAX) {
|
if ($x > PHP_INT_MAX) {
|
||||||
throw new \InvalidArgumentException("your platform can't handling long correctly. use 64bit machine.");
|
throw new \InvalidArgumentException("your platform can't handle long correctly. use 64bit machine.");
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->bb->putLong($this->space -= 8, $x);
|
$this->bb->putLong($this->space -= 8, $x);
|
||||||
|
@ -257,7 +257,7 @@ class FlatbufferBuilder
|
||||||
public function putUlong($x)
|
public function putUlong($x)
|
||||||
{
|
{
|
||||||
if ($x > PHP_INT_MAX) {
|
if ($x > PHP_INT_MAX) {
|
||||||
throw new \InvalidArgumentException("your platform can't handling ulong correctly. this is php limitations. please wait extension release.");
|
throw new \InvalidArgumentException("your platform can't handle ulong correctly. this is php limitations. please wait extension release.");
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->bb->putUlong($this->space -= 8, $x);
|
$this->bb->putUlong($this->space -= 8, $x);
|
||||||
|
|
Loading…
Reference in New Issue