Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4 from adrianmejias/analysis-qMx6jD
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
adrianmejias committed Sep 20, 2017
2 parents 7444a60 + 178da54 commit f1a3f5a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Exceptions/InvalidFactomApiConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,39 +45,39 @@ public static function noCertificateExists()
{
return new static('Can\'t find provided certificate file');
}

/**
* @return static
*/
public static function noUsernameDefined()
{
return new static('You must provide a password with a username');
}

/**
* @return static
*/
public static function noPasswordDefined()
{
return new static('You must provide a username with a password');
}

/**
* @return static
*/
public static function invalidMethodCalled()
{
return new static('Supplied method must match GET or POST');
}

/**
* @return static
*/
public static function invalidApiResponse(string $error, string $actionName)
{
return new static('Received error "'.$error.'" when hitting "'.$actionName.'" within the Factom API');
}

/**
* @return static
*/
Expand Down

0 comments on commit f1a3f5a

Please sign in to comment.