Skip to content

Commit ec181cb

Browse files
committed
Codestyle fixes
Signed-off-by: Roland Dalmulder <[email protected]>
1 parent 533a602 commit ec181cb

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -629,8 +629,7 @@ private function applyWithGitHub(int $id): bool
629629
{
630630
// We only create a backup if the file already exists
631631
if ($file->action === 'deleted'
632-
|| (file_exists(JPATH_ROOT . '/' . $file->filename)
633-
&& $file->action === 'modified')
632+
|| (file_exists(JPATH_ROOT . '/' . $file->filename) && $file->action === 'modified')
634633
|| (file_exists(JPATH_ROOT . '/' . $file->originalFile) && $file->action === 'renamed'))
635634
{
636635
$filename = $file->action === 'renamed' ? $file->originalFile : $file->filename;

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,6 @@ public function requestFromGithub($page)
474474
];
475475

476476
$data[] = implode(',', $pullData);
477-
478477
}
479478

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

0 commit comments

Comments
 (0)