Skip to content

Commit

Permalink
minor #116 Php70: do not expose intArg (glensc)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.8-dev branch.

Discussion
----------

Php70: do not expose intArg

`Php70::intArg` is used from `Php70` class only. make it private.

project search result: https://github.com/symfony/polyfill/search?q=intArg&type=Code

Commits
-------

c36388c Php70: do not expose intArg
  • Loading branch information
nicolas-grekas committed Apr 25, 2018
2 parents 884851f + c36388c commit 8d09841
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Php70/Php70.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public static function error_clear_last()
restore_error_handler();
}

public static function intArg($value, $caller, $pos)
private static function intArg($value, $caller, $pos)
{
if (is_int($value)) {
return $value;
Expand Down

0 comments on commit 8d09841

Please sign in to comment.