Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.

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

Merged
merged 1 commit into from
Dec 21, 2013

Conversation

pbuyle
Copy link

@pbuyle pbuyle commented Dec 20, 2013

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.

vierbergenlars added a commit that referenced this pull request Dec 21, 2013
Closes #32: Replace (string) casting with (array) in
version::getPrerelease().

* 'master' of https://github.com/Pheromone/php-semver:
  Replace (string) casting with (array) in version::getPrerelease().
vierbergenlars added a commit that referenced this pull request Dec 21, 2013
@vierbergenlars vierbergenlars merged commit dd15549 into vierbergenlars:master Dec 21, 2013
@vierbergenlars
Copy link
Owner

Thanks. Tagged new version 3.0.0-rc2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants