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 e1f8682 commit 9bad414Copy full SHA for 9bad414
SlevomatCodingStandard/Sniffs/TypeHints/PropertyTypeHintSniff.php
@@ -104,6 +104,7 @@ public function register(): array
104
*/
105
public function process(File $phpcsFile, $pointer): void
106
{
107
+ $this->enableNativeTypeHint = SniffSettingsHelper::isEnabledByPhpVersion($this->enableNativeTypeHint, 70400);
108
$this->enableMixedTypeHint = $this->enableNativeTypeHint
109
? SniffSettingsHelper::isEnabledByPhpVersion($this->enableMixedTypeHint, 80000)
110
: false;
0 commit comments