diff --git a/WsSecurityFilterClientServer.php b/WsSecurityFilterClientServer.php index cf89531..15b0d25 100644 --- a/WsSecurityFilterClientServer.php +++ b/WsSecurityFilterClientServer.php @@ -242,11 +242,10 @@ protected function createKeyInfo(FilterHelper $filterHelper, $tokenReference, $g * 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); diff --git a/WsdlHandler.php b/WsdlHandler.php index 6fd044b..a52a995 100644 --- a/WsdlHandler.php +++ b/WsdlHandler.php @@ -174,7 +174,7 @@ public function isValidMimeTypeType($soapAction, $operationType, $part, $current 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 @@ private function loadWsdlInDom() $this->domXpath->registerNamespace('soap', $this->wsdlSoapNamespace); } } -} \ No newline at end of file +}