Skip to content

Commit

Permalink
Merge branch 'fixPSR12' into 'main'
Browse files Browse the repository at this point in the history
Fixes code quality error

See merge request softwares-pkp/plugins_ojs/relatorioscielo!28
  • Loading branch information
YvesLepidus committed Sep 11, 2024
2 parents 98109aa + 1a6bf95 commit fd10aa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/ScieloPreprint.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function asRecord(): array
{
$record = [$this->id, $this->title, $this->submitter, $this->submitterCountry, $this->getSubmitterIsScieloJournal(), $this->dateSubmitted, $this->daysUntilStatusChange, $this->status, $this->getSectionModerators(), $this->getResponsibles(), $this->authorsAsRecord(), $this->section, $this->language, $this->getPublicationStatus(), $this->getPublicationDOI(), $this->getNotes(), $this->finalDecision, $this->finalDecisionDate, $this->getTimeUnderReview(), $this->getTimeBetweenSubmissionAndFinalDecision()];

if(!is_null($this->stats)) {
if (!is_null($this->stats)) {
$record = array_merge($record, $this->stats->asRecord());
}

Expand Down Expand Up @@ -66,7 +66,7 @@ public function getPublicationDOI(): string

public function getNotes(): string
{
if(empty($this->notes)) {
if (empty($this->notes)) {
return __('plugins.reports.scieloSubmissionsReport.warning.noNotes');
}

Expand Down

0 comments on commit fd10aa6

Please sign in to comment.