Skip to content

Commit

Permalink
Fix variable type
Browse files Browse the repository at this point in the history
  • Loading branch information
regdos committed Nov 28, 2019
1 parent 479f694 commit 054181d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions lib/OpenPayU/Result.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ class OpenPayU_Result
private $error = '';
private $success = 0;
private $request = '';
private $response = '';
/** @var object */
private $response;
private $sessionId = '';
private $message = '';
private $countryCode = '';
Expand Down Expand Up @@ -94,7 +95,7 @@ public function setRequest($value)

/**
* @access public
* @return string
* @return object
*/
public function getResponse()
{
Expand Down
2 changes: 1 addition & 1 deletion lib/OpenPayU/v2/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public static function consumeNotification($data)
/**
* Verify response from PayU
*
* @param string $response
* @param array $response
* @param string $messageName
* @return null|OpenPayU_Result
* @throws OpenPayU_Exception
Expand Down

0 comments on commit 054181d

Please sign in to comment.