Skip to content

Commit

Permalink
Improved documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Mar 8, 2019
1 parent c4a7465 commit b31760f
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/Currency.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,28 +21,28 @@ class Currency {
/**
* Alphabetic code.
*
* @var string
* @var string|null
*/
private $alphabetic_code;

/**
* Numeric code.
*
* @var string
* @var string|null
*/
private $numeric_code;

/**
* Symbol.
*
* @var string
* @var string|null
*/
private $symbol;

/**
* Name.
*
* @var string
* @var string|null
*/
private $name;

Expand All @@ -63,7 +63,7 @@ public function __construct() {
/**
* Get alphabetic code.
*
* @return null|string
* @return string|null
*/
public function get_alphabetic_code() {
return $this->alphabetic_code;
Expand All @@ -72,7 +72,7 @@ public function get_alphabetic_code() {
/**
* Set alphabetic code.
*
* @param string $alphabetic_code Alphabetic code.
* @param string|null $alphabetic_code Alphabetic code.
*/
public function set_alphabetic_code( $alphabetic_code ) {
$this->alphabetic_code = $alphabetic_code;
Expand All @@ -81,7 +81,7 @@ public function set_alphabetic_code( $alphabetic_code ) {
/**
* Get numeric code.
*
* @return null|string
* @return string|null
*/
public function get_numeric_code() {
return $this->numeric_code;
Expand All @@ -90,7 +90,7 @@ public function get_numeric_code() {
/**
* Set numeric code.
*
* @param string $numeric_code Numeric code.
* @param string|null $numeric_code Numeric code.
*/
public function set_numeric_code( $numeric_code ) {
$this->numeric_code = $numeric_code;
Expand All @@ -99,7 +99,7 @@ public function set_numeric_code( $numeric_code ) {
/**
* Get symbol.
*
* @return null|string
* @return string|null
*/
public function get_symbol() {
return $this->symbol;
Expand All @@ -108,7 +108,7 @@ public function get_symbol() {
/**
* Set symbol.
*
* @param string $symbol Symbol.
* @param string|null $symbol Symbol.
*/
public function set_symbol( $symbol ) {
$this->symbol = $symbol;
Expand Down Expand Up @@ -146,7 +146,7 @@ public static function get_instance( $alphabetic_code ) {
/**
* Get name.
*
* @return null|string
* @return string|null
*/
public function get_name() {
return $this->name;
Expand All @@ -155,7 +155,7 @@ public function get_name() {
/**
* Set name.
*
* @param string $name Currency name.
* @param string|null $name Currency name.
*/
public function set_name( $name ) {
$this->name = $name;
Expand Down

0 comments on commit b31760f

Please sign in to comment.