@@ -35,11 +35,11 @@ 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 | throw ArgumentCheckException::NullOfOverflowArgumentException("Argument missing: only one argument is allowed"); |
40 | 40 | } |
41 | 41 | |
42 | - $this->username = $username; |
|
42 | + $this->username = $username; |
|
43 | 43 | |
44 | 44 | $this->checkNullUsernameException(); |
45 | 45 | |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | */ |
60 | 60 | public function getGitApiData() |
61 | 61 | { |
62 | - $this->response = $this->guzzleClient->get('https://api.github.com/users/'.$this->username.'?client_id='.$this->clientId .'&client_secret='.$this->clientSecret); |
|
62 | + $this->response = $this->guzzleClient->get('https://api.github.com/users/'.$this->username.'?client_id='.$this->clientId.'&client_secret='.$this->clientSecret); |
|
63 | 63 | return $this->response->getBody(); |
64 | 64 | } |
65 | 65 |