Aaron-Junker / USOC

useful simple open-source CMS
Other
5 stars 1 forks source link

Fix 10 Maintainability issues in multiple files #30

Closed codefactor-io[bot] closed 4 years ago

codefactor-io[bot] commented 4 years ago

CodeFactor found multiple issues:

Code after the RETURN statement on line 38 cannot be executed

site\phpapi\getsettings.php:39 site\admin\phpapi\getsettings.php:39

Code after the RETURN statement on line 35 cannot be executed

site\phpapi\getsettings.php:36 site\admin\phpapi\getsettings.php:36

Code after the RETURN statement on line 32 cannot be executed

site\phpapi\getsettings.php:33 site\admin\phpapi\getsettings.php:33

Code after the RETURN statement on line 29 cannot be executed

site\phpapi\getsettings.php:30 site\admin\phpapi\getsettings.php:30

Code after the RETURN statement on line 26 cannot be executed

site\phpapi\getsettings.php:27 site\admin\phpapi\getsettings.php:27

github-actions[bot] commented 4 years ago

Hello and welcome to USOC. Thanks for helping us to make USOC better.

Aaron-Junker commented 4 years ago

Fixed