Merge pull request #3904 from devantoine/patch-1

Fix typo
This commit is contained in:
Wouter van Oortmerssen 2016-07-18 17:35:43 -07:00 committed by GitHub
commit a8d2eeee34
1 changed files with 3 additions and 3 deletions

View File

@ -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);