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.
2 parents f77ef67 + 5bbac1a commit 7dcf11cCopy full SHA for 7dcf11c
src/Facades/AppVersion.php
@@ -13,6 +13,7 @@
13
* @method static bool is7x()
14
* @method static bool is8x()
15
* @method static bool is9x()
16
+ * @method static bool is10x()
17
* @method static int major()
18
* @method static int minor()
19
* @method static int patch()
src/Support/AppVersion.php
@@ -30,6 +30,11 @@ public function is9x(): bool
30
return $this->major() === 9;
31
}
32
33
+ public function is10x(): bool
34
+ {
35
+ return $this->major() === 10;
36
+ }
37
+
38
public function major(): int
39
{
40
return (int) Str::before($this->version(), '.');
0 commit comments