We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af38450 commit 65f9720Copy full SHA for 65f9720
src/Ast/PhpVersion.php
@@ -83,16 +83,16 @@ public function isMixedTypehintSupported(): bool
83
84
private function isVersionGreaterThanOrEqualTo71(): bool
85
{
86
- return $this->phpVersion >= (float)self::VERSION_PHP71;
+ return $this->phpVersion >= self::VERSION_PHP71;
87
}
88
89
private function isVersionGreaterThanOrEqualTo74(): bool
90
91
- return $this->phpVersion >= (float)self::VERSION_PHP74;
+ return $this->phpVersion >= self::VERSION_PHP74;
92
93
94
private function isVersionGreaterThanOrEqualTo80(): bool
95
96
- return $this->phpVersion >= (float)self::VERSION_PHP80;
+ return $this->phpVersion >= self::VERSION_PHP80;
97
98
0 commit comments