Skip to content

Commit

Permalink
Update library/Zend/Soap/Server/DocumentLiteralWrapper.php
Browse files Browse the repository at this point in the history
Removed strict check to just make it PRS-2 compliant
  • Loading branch information
RWOverdijk committed Aug 10, 2012
1 parent a1aaa08 commit 1f1fea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Zend/Soap/Server/DocumentLiteralWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ protected function _getResultMessage($method, $ret)

protected function _assertServiceDelegateHasMethod($method)
{
if ($this->reflection->hasMethod($method) !== true) {
if (!$this->reflection->hasMethod($method)) {
throw new BadMethodCallException(sprintf(
"Method %s does not exist on delegate object %s",
$method, get_class($this->object)
Expand Down

0 comments on commit 1f1fea2

Please sign in to comment.