Skip to content

Commit 5aca21d

Browse files
committed
feat: update default version
1 parent 0fed500 commit 5aca21d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Web/Documentation/Version.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,22 @@ enum Version: string
1313

1414
public static function default(): self
1515
{
16-
return self::VERSION_1;
16+
return self::VERSION_2;
1717
}
1818

1919
public function isNext(): bool
2020
{
2121
return match ($this) {
22-
self::VERSION_2 => true,
22+
// self::VERSION_3 => true,
2323
default => false,
2424
};
2525
}
2626

2727
public function getBranch(): string
2828
{
2929
return match ($this) {
30-
self::VERSION_1 => 'main',
31-
self::VERSION_2 => '2.x',
30+
self::VERSION_1 => '1.x',
31+
self::VERSION_2 => 'main',
3232
};
3333
}
3434

0 commit comments

Comments
 (0)