@@ -22,7 +22,7 @@ |
||
| 22 | 22 | return false; |
| 23 | 23 | } |
| 24 | 24 | |
| 25 | - if ($noOfRepo >= 5 && $noOfRepo<= 10) { |
|
| 25 | + if ($noOfRepo >= 5 && $noOfRepo <= 10) { |
|
| 26 | 26 | $evangelistTypeMessage = "Damn It!!! Please make the world better, Oh Ye Prodigal Junior Evangelist"; |
| 27 | 27 | } else if ($noOfRepo >= 11 && $noOfRepo <= 20) { |
| 28 | 28 | $evangelistTypeMessage = "Keep Up The Good Work, I crown you Associate Evangelist"; |
@@ -33,15 +33,15 @@ discard block |
||
| 33 | 33 | |
| 34 | 34 | public function __construct($username) |
| 35 | 35 | { |
| 36 | - $this->username = $username; |
|
| 36 | + $this->username = $username; |
|
| 37 | 37 | |
| 38 | 38 | $num_args = (int) func_num_args(); // get number of arguments passed to |
| 39 | 39 | |
| 40 | - if ($num_args == 0 || $num_args > 1) { |
|
| 40 | + if ($num_args == 0 || $num_args > 1) { |
|
| 41 | 41 | throw ArgumentCheckException::NullOfOverflowArgumentException("Argument missing: only one argument is allowed"); |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | - $this->username = $username; |
|
| 44 | + $this->username = $username; |
|
| 45 | 45 | |
| 46 | 46 | |
| 47 | 47 | $this->checkNullUsernameException(); |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | */ |
| 63 | 63 | public function getGitApiData() |
| 64 | 64 | { |
| 65 | - $this->response = $this->guzzleClient->get('https://api.github.com/users/'.$this->username.'?client_id='.$this->clientId .'&client_secret='.$this->clientSecret); |
|
| 65 | + $this->response = $this->guzzleClient->get('https://api.github.com/users/'.$this->username.'?client_id='.$this->clientId.'&client_secret='.$this->clientSecret); |
|
| 66 | 66 | return $this->response->getBody(); |
| 67 | 67 | } |
| 68 | 68 | |