Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
flatbuffers
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
flatbuffers
Commits
64fa8ba9
Commit
64fa8ba9
authored
Jul 19, 2016
by
Antoine Descamps
Committed by
GitHub
Jul 19, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo
Related to
https://github.com/google/flatbuffers/pull/3904#issuecomment-224724181
parent
a8d2eeee
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
FlatbufferBuilder.php
php/FlatbufferBuilder.php
+2
-2
No files found.
php/FlatbufferBuilder.php
View file @
64fa8ba9
...
@@ -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 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
);
$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 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
);
$this
->
bb
->
putUlong
(
$this
->
space
-=
8
,
$x
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment