Skip to content

Commit

Permalink
Code style fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
denpamusic committed Aug 25, 2018
1 parent 02c430a commit 084bc7f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/Exceptions/BitcoindException.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
class BitcoindException extends RuntimeException
{
/**
* Construct new bitcoind exception.
* Constructs new bitcoind exception.
*
* @param object $error
*
Expand Down
4 changes: 1 addition & 3 deletions src/Exceptions/ClientException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@

use RuntimeException;

class ClientException extends RuntimeException
{
}
class ClientException extends RuntimeException {}
8 changes: 4 additions & 4 deletions src/MessageTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function getHeaderLine($name)
}

/**
* Return an instance with the provided value replacing the specified header.
* Returns an instance with the provided value replacing the specified header.
*
* @param string $name
* @param string|array $value
Expand All @@ -94,7 +94,7 @@ public function withHeader($name, $value)
}

/**
* Return an instance with the specified header appended with the given value.
* Returns an instance with the specified header appended with the given value.
*
* @param string|array $value
*
Expand All @@ -108,7 +108,7 @@ public function withAddedHeader($name, $value)
}

/**
* Return an instance without the specified header.
* Returns an instance without the specified header.
*
* @param string $name
*
Expand All @@ -132,7 +132,7 @@ public function getBody()
}

/**
* Return an instance with the specified message body.
* Returns an instance with the specified message body.
*
* @param \Psr\Http\Message\StreamInterface $body
*
Expand Down
4 changes: 2 additions & 2 deletions src/ResponseArrayTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public function contains($value)
}

/**
* Set current key.
* Sets current key.
*
* @param string|null $key
*
Expand Down Expand Up @@ -229,7 +229,7 @@ public function sum($key = null)
}

/**
* Get response item by key.
* Gets response item by key.
*
* @param string|null $key
*
Expand Down

0 comments on commit 084bc7f

Please sign in to comment.