Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
code smell
"TypeError: Return value of solution() must be of the type integer, none returned".
I checked and the type of the variable I was returning was "integer".
I suspected the tests for php might be broken so I changed the last line of my function.
The last line of my function now simply reads: "return 9".
I'm still getting the exact same error.
Am I correct in assuming the error is not all on me?
I just started learning php last week and haven't been coding for too long so forgive me if I'm not seeing something obvious.