Skip to content

Commit

Permalink
Updated README.
Browse files Browse the repository at this point in the history
  • Loading branch information
denpamusic committed Sep 14, 2018
1 parent c708e6d commit f8e11ed
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ To send asynchronous request, add Async to method name:
$bitcoind->getBlockAsync(
'000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f',
function ($response) {
//
// success
},
function ($exception) {
//
// error
}
);
```
Expand Down Expand Up @@ -131,10 +131,10 @@ $bitcoind->requestAsync(
'getBlock',
'000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f',
function ($response) {
//
// success
},
function ($error) {
//
function ($exception) {
// error
}
);
```
Expand Down
10 changes: 10 additions & 0 deletions tests/FunctionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ class FunctionsTest extends TestCase
/**
* Test satoshi to btc converter.
*
* @param int $satoshi
* @param string $bitcoin
*
* @return void
*
* @dataProvider valueProvider
Expand All @@ -19,6 +22,9 @@ public function testToBtc($satoshi, $bitcoin)
/**
* Test btc to satoshi converter.
*
* @param int $satoshi
* @param string $bitcoin
*
* @return void
*
* @dataProvider valueProvider
Expand All @@ -31,6 +37,10 @@ public function testToSatoshi($satoshi, $bitcoin)
/**
* Test float to fixed converter.
*
* @param float $float
* @param int $precision
* @param string $expected
*
* @return void
*
* @dataProvider floatProvider
Expand Down

0 comments on commit f8e11ed

Please sign in to comment.