PluginProbe
Media Cloud Sync / 1.4.2
Media Cloud Sync v1.4.2
1.4.2 1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 All 36 releases
← All changes | includes/sdk/google/google/grpc-gcp/src/GcpBaseCall.php +4 -4 1.2.11 → 1.4.2 View file →
@@ -16,9 +16,9 @@
16 16 * See the License for the specific language governing permissions and
17 17 * limitations under the License.
18 18 *
19 19 */
20 -namespace Dudlewebs\WPMCS\Grpc\Gcp;
20 +namespace Dudlewebs\WPMCS\GCP\Grpc\Gcp;
21 21
22 22 abstract class GcpBaseCall
23 23 {
24 24 const BOUND = 'BOUND';
@@ -119,12 +119,12 @@
119 119 protected function getAffinityKeyFromProto($proto)
120 120 {
121 121 if ($this->_affinity) {
122 122 $names = $this->_affinity['affinityKey'];
123 - $names_arr = explode(".", $names);
123 + $names_arr = \explode(".", $names);
124 124 foreach ($names_arr as $name) {
125 - $getAttrMethod = 'get' . ucfirst($name);
126 - $proto = call_user_func_array(array($proto, $getAttrMethod), array());
125 + $getAttrMethod = 'get' . \ucfirst($name);
126 + $proto = \call_user_func_array(array($proto, $getAttrMethod), array());
127 127 }
128 128 return $proto;
129 129 }
130 130 echo "Cannot find the field in the proto\n";