mirror of
https://github.com/vee1e/flatbuffers.git
synced 2026-09-01 17:57:25 +00:00
Fix typo
"your platform can't handling..." => "your platform can't handle"
This commit is contained in:
parent
e92ae5199d
commit
cf7e4b027a
1 changed files with 3 additions and 3 deletions
|
|
@ -233,7 +233,7 @@ class FlatbufferBuilder
|
|||
public function putUint($x)
|
||||
{
|
||||
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);
|
||||
|
|
@ -245,7 +245,7 @@ class FlatbufferBuilder
|
|||
public function putLong($x)
|
||||
{
|
||||
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);
|
||||
|
|
@ -257,7 +257,7 @@ class FlatbufferBuilder
|
|||
public function putUlong($x)
|
||||
{
|
||||
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue