diff options
author | Antoine Descamps <antoine@antoinedescamps.fr> | 2016-07-19 12:22:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-19 12:22:37 +0200 |
commit | 64fa8ba9a99234edd7cf8b09820603c0a2c287ea (patch) | |
tree | b396b7ca2584411ea65bd198f45c1f4e8f4ee17d | |
parent | a8d2eeee3419d13415519ba7ee356fbb05ec06cc (diff) | |
download | flatbuffers-64fa8ba9a99234edd7cf8b09820603c0a2c287ea.tar.gz flatbuffers-64fa8ba9a99234edd7cf8b09820603c0a2c287ea.tar.bz2 flatbuffers-64fa8ba9a99234edd7cf8b09820603c0a2c287ea.zip |
Fix typo
Related to https://github.com/google/flatbuffers/pull/3904#issuecomment-224724181
-rw-r--r-- | php/FlatbufferBuilder.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/php/FlatbufferBuilder.php b/php/FlatbufferBuilder.php index fce4a718..6f0ee483 100644 --- a/php/FlatbufferBuilder.php +++ b/php/FlatbufferBuilder.php @@ -245,7 +245,7 @@ class FlatbufferBuilder public function putLong($x) { if ($x > PHP_INT_MAX) { - throw new \InvalidArgumentException("your platform can't handle long correctly. use 64bit machine."); + throw new \InvalidArgumentException("Your platform can't handle long correctly. Use a 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 handle ulong correctly. this is php limitations. please wait extension release."); + throw new \InvalidArgumentException("Your platform can't handle ulong correctly. This is a php limitation. Please wait for the extension release."); } $this->bb->putUlong($this->space -= 8, $x); |