@@ -22,7 +22,7 @@ |
||
| 22 | 22 | class EvangelistStatus extends Client implements EvangelistStatusInterface |
| 23 | 23 | { |
| 24 | 24 | private $username; |
| 25 | - protected $githubApi; |
|
| 25 | + protected $githubApi; |
|
| 26 | 26 | private $response; |
| 27 | 27 | |
| 28 | 28 | public function __construct($username) |
@@ -15,15 +15,15 @@ |
||
| 15 | 15 | class EvangelistStatusException extends Exception |
| 16 | 16 | { |
| 17 | 17 | /** |
| 18 | - * This method checkEmptyGithubusername |
|
| 19 | - * @param String $username Github username |
|
| 20 | - * |
|
| 21 | - */ |
|
| 22 | - public function checkEmptyGithubUsername($username) |
|
| 23 | - { |
|
| 24 | - if ($username == "") |
|
| 25 | - { |
|
| 26 | - throw new Exception("Invalid Github username"); |
|
| 27 | - } |
|
| 28 | - } |
|
| 18 | + * This method checkEmptyGithubusername |
|
| 19 | + * @param String $username Github username |
|
| 20 | + * |
|
| 21 | + */ |
|
| 22 | + public function checkEmptyGithubUsername($username) |
|
| 23 | + { |
|
| 24 | + if ($username == "") |
|
| 25 | + { |
|
| 26 | + throw new Exception("Invalid Github username"); |
|
| 27 | + } |
|
| 28 | + } |
|
| 29 | 29 | } |
| 30 | 30 | \ No newline at end of file |