Skip to content

Commit

Permalink
refactor: Remove unnecessary array initialization in getFieldsCount m…
Browse files Browse the repository at this point in the history
…ethod.
  • Loading branch information
EthannSchneider committed Oct 9, 2024
1 parent dc2cef9 commit 6b4eb59
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/models/exercise.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ public function setExerciseAs(Status $status)

public function getFieldsCount(): int
{
$array_field = [];
return $this->database_access->getFieldsCount($this->id);
}
}

0 comments on commit 6b4eb59

Please sign in to comment.