chore: corrected some linter revealed code smells

2 jobs for development in 2 minutes and 54 seconds (queued for 1 second)
Status Name Job ID Coverage
  Sonar Analysis
passed sonarqube #35688

00:01:14

 
  Build
passed build #35689

00:01:39