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

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianmejias authored and StyleCIBot committed Sep 20, 2017
1 parent 7444a60 commit 178da54
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 178da54

Please sign in to comment.