Skip to content

Commit 4ee4a56

Browse files
committed
Keep space before colon for return type hint
1 parent dc2a9ed commit 4ee4a56

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Cdn77/ruleset.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,12 @@
9595
<rule ref="SlevomatCodingStandard.Commenting.RequireOneLineDocComment"/>
9696
<rule ref="SlevomatCodingStandard.Files.LineLength"/>
9797

98+
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing">
99+
<properties>
100+
<property name="spacesCountBeforeColon" value="1"/>
101+
</properties>
102+
</rule>
103+
98104
<rule ref="Squiz.WhiteSpace.OperatorSpacing">
99105
<properties>
100106
<property name="ignoreNewlines" value="true"/>

0 commit comments

Comments
 (0)