summaryrefslogtreecommitdiff
path: root/cpp/src/slice2php/Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2php/Main.cpp')
-rw-r--r--cpp/src/slice2php/Main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/slice2php/Main.cpp b/cpp/src/slice2php/Main.cpp
index 1c2cd419296..312091ecde1 100644
--- a/cpp/src/slice2php/Main.cpp
+++ b/cpp/src/slice2php/Main.cpp
@@ -399,9 +399,9 @@ CodeVisitor::visitClassDefStart(const ClassDefPtr& p)
_out << sp << nl << "class " << prxName << "Helper";
_out << sb;
- _out << sp << nl << "public static function checkedCast($proxy, $facetOrCtx=null, $ctx=null)";
+ _out << sp << nl << "public static function checkedCast($proxy, $facetOrContext=null, $context=null)";
_out << sb;
- _out << nl << "return $proxy->ice_checkedCast('" << scoped << "', $facetOrCtx, $ctx);";
+ _out << nl << "return $proxy->ice_checkedCast('" << scoped << "', $facetOrContext, $context);";
_out << eb;
_out << sp << nl << "public static function uncheckedCast($proxy, $facet=null)";