From 64fa8ba9a99234edd7cf8b09820603c0a2c287ea Mon Sep 17 00:00:00 2001 From: Antoine Descamps Date: Tue, 19 Jul 2016 12:22:37 +0200 Subject: [PATCH] Fix typo Related to https://github.com/google/flatbuffers/pull/3904#issuecomment-224724181 --- php/FlatbufferBuilder.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php/FlatbufferBuilder.php b/php/FlatbufferBuilder.php index fce4a718e..6f0ee4831 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);