Skip to content

Commit f6439aa

Browse files
authored
Laravel version preview as repo branch name (#1727)
1 parent 6d0974e commit f6439aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DataCollector/LaravelCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function __construct(protected ApplicationContract $laravel)
2323
public function collect()
2424
{
2525
return [
26-
"version" => Str::of($this->laravel->version())->explode('.')->first(),
26+
"version" => Str::of($this->laravel->version())->explode('.')->first() . '.x',
2727
];
2828
}
2929

0 commit comments

Comments
 (0)