fixed incorrect type

The example was incorrect. It refered to an int() instead of an intArray()