File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
SlevomatCodingStandard/Sniffs/TypeHints Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -98,10 +98,10 @@ public function register(): array
9898 public function process (File $ phpcsFile , $ visibilityPointer ): void
9999 {
100100 $ this ->enableNativeTypeHint = SniffSettingsHelper::isEnabledByPhpVersion ($ this ->enableNativeTypeHint , 70400 );
101- $ this ->enableMixedTypeHint = $ this ->enableNativeTypeHint
101+ $ this ->enableMixedTypeHint = $ this ->enableMixedTypeHint
102102 ? SniffSettingsHelper::isEnabledByPhpVersion ($ this ->enableMixedTypeHint , 80000 )
103103 : false ;
104- $ this ->enableUnionTypeHint = $ this ->enableNativeTypeHint
104+ $ this ->enableUnionTypeHint = $ this ->enableUnionTypeHint
105105 ? SniffSettingsHelper::isEnabledByPhpVersion ($ this ->enableUnionTypeHint , 80000 )
106106 : false ;
107107
You can’t perform that action at this time.
0 commit comments