Skip to content

Commit

Permalink
Fix #72 [Lumen 6.0] Ignore version range symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
kylekatarnls committed Sep 15, 2019
1 parent 96a1371 commit b281580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public function version()
$app = $this->app;
$tab = explode('Laravel Components ', $app->version());

return intval(empty($tab[1]) ? $app::VERSION : $tab[1]);
return intval(empty($tab[1]) ? $app::VERSION : trim($tab[1], ' ^~><=*.()'));
}

/**
Expand Down

0 comments on commit b281580

Please sign in to comment.