We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a75f39 commit be627c4Copy full SHA for be627c4
src/Support/AppVersion.php
@@ -57,7 +57,7 @@ public function is(string $version, string $comparator = '>='): bool
57
public function version(): string
58
{
59
if (AppHelper::isLumen()) {
60
- preg_match('/.+\((\d+\.\d+\.\d+)\)/', app()->version(), $matches);
+ preg_match('/.+\((\d+\.\d+|\d+\.\d+\.\d+)\).+/', app()->version(), $matches);
61
62
return $matches[1];
63
}
0 commit comments