Skip to content

Commit 5a961cb

Browse files
committed
ext/soap: SoapServer::setClass() does not need bailout handler wrapper
As this methods never uses the bailout mechanism
1 parent 8269caa commit 5a961cb

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

ext/soap/soap.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1053,9 +1053,7 @@ PHP_METHOD(SoapServer, setClass)
10531053
RETURN_THROWS();
10541054
}
10551055

1056-
SOAP_SERVER_BEGIN_CODE();
1057-
1058-
FETCH_THIS_SERVICE(service);
1056+
FETCH_THIS_SERVICE_NO_BAILOUT(service);
10591057

10601058
service->type = SOAP_CLASS;
10611059
service->soap_class.ce = ce;
@@ -1070,8 +1068,6 @@ PHP_METHOD(SoapServer, setClass)
10701068
ZVAL_COPY(&service->soap_class.argv[i], &argv[i]);
10711069
}
10721070
}
1073-
1074-
SOAP_SERVER_END_CODE();
10751071
}
10761072
/* }}} */
10771073

0 commit comments

Comments
 (0)