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.
If you see the first sample test, it says that the output from reverseSeq(5) is expected as [5,4,3,2,1]. So return type should be clear.
About the error you had, when I googled the syntax error message, the following page was found.
https://stackoverflow.com/questions/30971253/php-unexpected-array-t-array