Skip to content

Commit

Permalink
[TASK] Change call_user_func to array_pop()
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas Norre Mikkelsen committed Oct 18, 2017
1 parent b9b4156 commit 120560a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Vcs/Driver/GitDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public function getLatestTag()
return '0.0.0';
}

return call_user_func('end', array_values($tags));
return array_pop($tags);
}

/**
Expand Down

0 comments on commit 120560a

Please sign in to comment.