Skip to content

Commit cf35adf

Browse files
committed
Codestyle
Signed-off-by: Roland Dalmulder <contact@rolandd.com>
1 parent 06750d7 commit cf35adf

File tree

1 file changed

+11
-2
lines changed
  • administrator/components/com_patchtester/PatchTester/Model

1 file changed

+11
-2
lines changed

administrator/components/com_patchtester/PatchTester/Model/PullsModel.php

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,14 +348,23 @@ public function requestFromGithub($page)
348348
$batchSize = 100;
349349

350350
$pullsResponse = Helper::initializeGithub()->getOpenIssues(
351-
$this->getState()->get('github_user'), $this->getState()->get('github_repo'), $page, $batchSize
351+
$this->getState()->get('github_user'),
352+
$this->getState()->get('github_repo'),
353+
$page,
354+
$batchSize
352355
);
353356

354357
$pulls = json_decode($pullsResponse->body);
355358
}
356359
catch (UnexpectedResponse $exception)
357360
{
358-
throw new \RuntimeException(Text::sprintf('COM_PATCHTESTER_ERROR_GITHUB_FETCH', $exception->getMessage()), $exception->getCode(), $exception);
361+
throw new \RuntimeException(
362+
Text::sprintf('COM_PATCHTESTER_ERROR_GITHUB_FETCH',
363+
$exception->getMessage()
364+
),
365+
$exception->getCode(),
366+
$exception
367+
);
359368
}
360369

361370
// If this is page 1, let's check to see if we need to paginate

0 commit comments

Comments
 (0)