summaryrefslogtreecommitdiff
path: root/cpp/src/slice2php
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2017-01-09 16:03:10 -0500
committerBernard Normier <bernard@zeroc.com>2017-01-09 16:03:10 -0500
commit7c74420c53bda5789e6ab78f1e16d18486a294c6 (patch)
tree9184b09775ed29ebf3db72b64a9b95f5980e5b51 /cpp/src/slice2php
parentPython/Ruby build fixes (diff)
downloadice-7c74420c53bda5789e6ab78f1e16d18486a294c6.tar.bz2
ice-7c74420c53bda5789e6ab78f1e16d18486a294c6.tar.xz
ice-7c74420c53bda5789e6ab78f1e16d18486a294c6.zip
Renamed optional invocation context parameter in Python, Ruby and PHP
new name: context old name: _ctx Fixed macOS build
Diffstat (limited to 'cpp/src/slice2php')
-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)";