jhuesser / bzu-jodel-clone

This webapp is a clone of the famous studend app jodel (jodel.com). This is a project for school. Alpha state, not relased yet.
GNU General Public License v3.0
5 stars 3 forks source link

Fix "CleanCode/ElseExpression" issue in functions/apicalls.php #29

Closed jhuesser closed 7 years ago

jhuesser commented 7 years ago

The method putCall uses an else expression. Else is never necessary and you can simplify the code to work without else.

https://codeclimate.com/github/jhuesser/bzu-jodel-clone/functions/apicalls.php#issue_58fd1c6f15bc0d0001000031

jhuesser commented 7 years ago

@CloudyWuff set to wontfix; closing ticket