Skip to content

Commit 8d09841

Browse files
minor #116 Php70: do not expose intArg (glensc)
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
2 parents 884851f + c36388c commit 8d09841

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Php70/Php70.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public static function error_clear_last()
6060
restore_error_handler();
6161
}
6262

63-
public static function intArg($value, $caller, $pos)
63+
private static function intArg($value, $caller, $pos)
6464
{
6565
if (is_int($value)) {
6666
return $value;

0 commit comments

Comments
 (0)