src/lib/KevinGH/Version/Version.php
public function setPreRelease($pre)
    {
        $this->pre = array_values((array)$pre);

        array_walk(
            $this->pre,
            function (&$v) {
                if (preg_match('/^[0-9]+$/', $v)) {
                    $v = (int)$v;
                }
            }
        );
    }
public function setPreRelease($pre)
    {
        $this->pre = array_values((array)$pre);

        array_walk(
            $this->pre,
            function (&$v) {
                if (preg_match('/^[0-9]+$/', $v)) {
                    $v = (int)$v;
                }
            }
        );
    }
Sets the pre-release version information.

@param array|integer|string $pre The pre-release version information.

@api