Skip to content

Commit

Permalink
add note in response object
Browse files Browse the repository at this point in the history
  • Loading branch information
prolic committed Nov 25, 2017
1 parent 1cbca22 commit 909eb0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/JsonRpc/JsonRpcResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ public function isError()

/**
* @return array|bool|float|int|null|string
* @deprecated will be moved to Error in 2.0
*/
public function data()
{
Expand Down
1 change: 1 addition & 0 deletions src/JsonRpc/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public function isError();

/**
* @return array|bool|float|int|null|string
* @deprecated will be moved to Error in 2.0
*/
public function data();
}

0 comments on commit 909eb0e

Please sign in to comment.