Ensure single space between function's argument and its typehint.
--- Original
+++ New
<?php
-function sample(array$a)
+function sample(array $a)
{}
--- Original
+++ New
<?php
-function sample(array $a)
+function sample(array $a)
{}
The rule is part of the following rule sets:
- @PhpCsFixer
- Using the @PhpCsFixer rule set will enable the
function_typehint_space
rule. - @Symfony
- Using the @Symfony rule set will enable the
function_typehint_space
rule.