Skip to content

Commit

Permalink
Cleaned unused method, property, variable or parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
francisbesset committed Dec 2, 2013
1 parent be91389 commit a28d340
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions WsSecurityFilterClientServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions WsdlHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -202,4 +202,4 @@ private function loadWsdlInDom()
$this->domXpath->registerNamespace('soap', $this->wsdlSoapNamespace);
}
}
}
}

0 comments on commit a28d340

Please sign in to comment.