@@ -35,12 +35,12 @@ discard block |
||
| 35 | 35 | { |
| 36 | 36 | $num_args = (int) func_num_args(); // get number of arguments passed to |
| 37 | 37 | |
| 38 | - if ($num_args == 0 || $num_args > 1) |
|
| 38 | + if ($num_args == 0 || $num_args > 1) |
|
| 39 | 39 | { |
| 40 | 40 | throw ArgumentCheckException::NullOfOverflowArgumentException("Argument missing: only one argument is allowed"); |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | - $this->username = $username; |
|
| 43 | + $this->username = $username; |
|
| 44 | 44 | |
| 45 | 45 | $this->checkNullUsernameException(); |
| 46 | 46 | |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | */ |
| 61 | 61 | public function getGitApiData() |
| 62 | 62 | { |
| 63 | - $this->response = $this->guzzleClient->get('https://api.github.com/users/'.$this->username.'?client_id='.$this->clientId .'&client_secret='.$this->clientSecret); |
|
| 63 | + $this->response = $this->guzzleClient->get('https://api.github.com/users/'.$this->username.'?client_id='.$this->clientId.'&client_secret='.$this->clientSecret); |
|
| 64 | 64 | return $this->response->getBody(); |
| 65 | 65 | } |
| 66 | 66 | |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | { |
| 74 | 74 | $githubJson = json_decode($this->githubResponse, true); |
| 75 | 75 | |
| 76 | - if(EvangelistStatusRanking::checkForNullRepos($githubJson)) |
|
| 76 | + if (EvangelistStatusRanking::checkForNullRepos($githubJson)) |
|
| 77 | 77 | { |
| 78 | 78 | throw NullNoOfReposException::createNullReposException("Empty GitHub repository"); |
| 79 | 79 | } |