Skip to content

Commit

Permalink
Codestyle fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Roland Dalmulder <contact@rolandd.com>
  • Loading branch information
roland-d committed Jan 28, 2022
1 parent 533a602 commit ec181cb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -629,8 +629,7 @@ private function applyWithGitHub(int $id): bool
{
// We only create a backup if the file already exists
if ($file->action === 'deleted'
|| (file_exists(JPATH_ROOT . '/' . $file->filename)
&& $file->action === 'modified')
|| (file_exists(JPATH_ROOT . '/' . $file->filename) && $file->action === 'modified')
|| (file_exists(JPATH_ROOT . '/' . $file->originalFile) && $file->action === 'renamed'))
{
$filename = $file->action === 'renamed' ? $file->originalFile : $file->filename;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,6 @@ public function requestFromGithub($page)
];

$data[] = implode(',', $pullData);

}

// If there are no pulls to insert then bail, assume we're finished
Expand Down

0 comments on commit ec181cb

Please sign in to comment.