Cleaned unused method, property, variable or parameter
This commit is contained in:
@ -242,11 +242,10 @@ abstract class WsSecurityFilterClientServer
|
||||
* Create a list of \DOMNodes that should be encrypted.
|
||||
*
|
||||
* @param \DOMDocument $dom DOMDocument to query
|
||||
* @param \DOMElement $security Security element
|
||||
*
|
||||
* @return \DOMNodeList
|
||||
*/
|
||||
protected function createNodeListForEncryption(\DOMDocument $dom, \DOMElement $security)
|
||||
protected function createNodeListForEncryption(\DOMDocument $dom)
|
||||
{
|
||||
$xpath = new \DOMXPath($dom);
|
||||
$xpath->registerNamespace('SOAP-ENV', $dom->documentElement->namespaceURI);
|
||||
|
@ -174,7 +174,7 @@ class WsdlHandler
|
||||
return true;
|
||||
// type/* match
|
||||
} else {
|
||||
list($ctype, $csubtype) = explode('/', $currentMimeType);
|
||||
list($ctype) = explode('/', $currentMimeType);
|
||||
foreach ($mimeTypes as $mimeType) {
|
||||
list($type, $subtype) = explode('/', $mimeType);
|
||||
if ($subtype == '*' && $type == $ctype) {
|
||||
@ -202,4 +202,4 @@ class WsdlHandler
|
||||
$this->domXpath->registerNamespace('soap', $this->wsdlSoapNamespace);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user