Skip to content

Commit

Permalink
fix codesniffer errors
Browse files Browse the repository at this point in the history
  • Loading branch information
w3guy committed May 10, 2017
1 parent 8e982bc commit 20358e2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/Message/RefundResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ public function getCode()
*/
public function getMessage()
{
return isset($this->data['response_message']) ? $this->data['response_message'] : json_encode($this->data['errors']);
return isset($this->data['response_message']) ?
$this->data['response_message'] :
json_encode($this->data['errors']);
}
}
4 changes: 3 additions & 1 deletion src/Message/StopRecurringResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ public function getLineItems()
*/
public function getMessage()
{
return isset($this->data['response_message']) ? $this->data['response_message'] : json_encode($this->data['errors']);
return isset($this->data['response_message']) ?
$this->data['response_message'] :
json_encode($this->data['errors']);
}
}

0 comments on commit 20358e2

Please sign in to comment.