Replace (string) casting with (array) in version::getPrerelease().

```version::getPrerelease()``` always returns the string 'Array' because of an explicit Array ton string conversion.

The documentation states that ```version::getPrerelease()``` should return an array, so the ```(string)``` casting must be a typo or a leftover from previous implementation.