1 | <?php |
||
9 | class SoapClient extends \SoapClient |
||
10 | { |
||
11 | /** |
||
12 | * @var string |
||
13 | */ |
||
14 | protected $lastModifiedRequest; |
||
15 | /** |
||
16 | * @param string $request |
||
17 | * @param string $location |
||
18 | * @param string $action |
||
19 | * @param string $version |
||
20 | * @param number $one_way |
||
21 | * @return mixed |
||
22 | */ |
||
23 | public function __doRequest($request, $location, $action, $version, $one_way = 0) |
||
28 | /** |
||
29 | * Returns last request |
||
30 | * @see SoapClient::__getLastRequest() |
||
31 | * @return string |
||
32 | */ |
||
33 | public function __getLastRequest() |
||
37 | /** |
||
38 | * Sets last request values |
||
39 | * @param string $_lastRequest |
||
|
|||
40 | * @return string |
||
41 | */ |
||
42 | public function __setLastRequest($lastRequest) |
||
46 | /** |
||
47 | * Removes empty tags from XML |
||
48 | * @param string $xml |
||
49 | * @param array $exceptTags |
||
50 | * @return string |
||
51 | */ |
||
52 | private function removeEmptyTags($xml, $exceptTags = array()) |
||
65 | /** |
||
66 | * Removes empty tags from \DOMNode |
||
67 | * @uses RemoveEmptyRequestTags::removeEmptyTagsFromDomNode() |
||
68 | * @param \DOMNode $domNode |
||
69 | * @return void |
||
70 | */ |
||
71 | private static function removeEmptyTagsFromDomNode(\DOMNode &$domNode, $exceptTags = array()) |
||
87 | } |
||
88 |
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function. It has, however, found a similar but not annotated parameter which might be a good fit.
Consider the following example. The parameter
$ireland
is not defined by the methodfinale(...)
.The most likely cause is that the parameter was changed, but the annotation was not.