diff --git a/src/Vcs/Driver/GitDriver.php b/src/Vcs/Driver/GitDriver.php index 9a00fd1..df547d7 100644 --- a/src/Vcs/Driver/GitDriver.php +++ b/src/Vcs/Driver/GitDriver.php @@ -127,7 +127,7 @@ public function getLatestTag() return '0.0.0'; } - return call_user_func('end', array_values($tags)); + return array_pop($tags); } /**