Commit a8d2eeee authored by Wouter van Oortmerssen's avatar Wouter van Oortmerssen Committed by GitHub

Merge pull request #3904 from devantoine/patch-1

Fix typo
parents e21a61d4 cf7e4b02
...@@ -233,7 +233,7 @@ class FlatbufferBuilder ...@@ -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 ...@@ -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 ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment