@@ -55,8 +55,9 @@ |
||
| 55 | 55 | } |
| 56 | 56 | |
| 57 | 57 | // Determine if there are more projects. |
| 58 | - if ($result->getNextPage()==null) |
|
| 59 | - break; |
|
| 58 | + if ($result->getNextPage()==null) { |
|
| 59 | + break; |
|
| 60 | + } |
|
| 60 | 61 | |
| 61 | 62 | // Increment page counter. |
| 62 | 63 | $page ++; |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | $credentials = file_get_contents(dirname(__FILE__) . '/auth_credentials.json'); |
| 17 | 17 | if ($credentials===false) { |
| 18 | 18 | throw new \Exception("Couldn't read OAuth credentials from auth_credentials.json. Make sure " . |
| 19 | - "the file exists (if not, copy from auth_credentials.json.dist)."); |
|
| 19 | + "the file exists (if not, copy from auth_credentials.json.dist)."); |
|
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | $credentials = json_decode($credentials, true); |